SunFounder TS-10 10.1-inch Touch Screen
4.3 Right Click Function
Touchscreen tablets and displays make it easy for you to perform simple navigation tasks with your fingers or stylus,
but at some point, you may want to use right-click commands to quickly access context-specific shortcuts.
Here we use
evdev-rce
to make the right-click function still available.
Enter the following command to install the required software.
sudo apt install build-essential libevdev2 libevdev-dev -y
git clone
'https://github.com/PeterCxy/evdev-right-click-emulation.git'
cd
'evdev-right-click-emulation'
Enter the following command to build.
make all
Copy the file to the
/usr
directory.
sudo cp
'out/evdev-rce' '/usr/local/bin/'
Make it executable.
sudo chmod +x
'/usr/local/bin/evdev-rce'
Modify the
/etc/rc.local
file to enable boot-up.
sudo nano /etc/rc.local
4.3. Right Click Function
29
Summary of Contents for TS-10
Page 1: ...SunFounder TS 10 10 1 inch Touch Screen www sunfounder com Nov 19 2021 ...
Page 2: ......
Page 6: ...SunFounder TS 10 10 1 inch Touch Screen 2 CONTENTS ...
Page 9: ...SunFounder TS 10 10 1 inch Touch Screen 5 ...
Page 10: ...SunFounder TS 10 10 1 inch Touch Screen 6 Chapter 1 HARDWARE DESCRIPTION ...
Page 16: ...SunFounder TS 10 10 1 inch Touch Screen 12 Chapter 2 INSTALL THE RASPBERRY PI OS ...
Page 21: ...SunFounder TS 10 10 1 inch Touch Screen pi 3 Step 5 17 ...
Page 141: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 137 ...
Page 165: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 161 ...
Page 167: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 163 ...
Page 181: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 177 ...
Page 209: ...SunFounder TS 10 10 1 inch Touch Screen 205 ...
Page 210: ...SunFounder TS 10 10 1 inch Touch Screen 206 Chapter 7 3D PRINTED SUPPORT ...
Page 212: ...SunFounder TS 10 10 1 inch Touch Screen 208 Chapter 8 FAQ ...