2

I have fitted this Waveshare 10 inch LCD touchscreen to my Pi4B (buster). It all works fine but I can't find a way to achieve a Right Mouse Click. Is there a way to get a right click?

1
  • how do you do a right mouse click on a smartphone?
    – jsotola
    Apr 22, 2020 at 17:32

1 Answer 1

2

If long press does not work you can try

sudo nano /etc/X11/xorg.conf

Paste in:

Section "InputClass"
   Identifier "calibration"
   Driver "evdev"
   MatchProduct "FT5406 memory based driver"

   Option "EmulateThirdButton" "1"
   Option "EmulateThirdButtonTimeout" "750"
   Option "EmulateThirdButtonMoveThreshold" "30"
EndSection

Save the file and reboot (yes reboot is needed).

Taken from here

3
  • That didn't work for me. I think your link refers to the Official Pi Touchscreen. The file xorg.conf didn't exist so I created it. Was that correct?
    – cpedw
    Apr 23, 2020 at 9:04
  • The above snippet needs to be edited to reflect the name of the actual device: Change MatchProduct "…" to match the name of the device, such as returned by xinput Assuming your Waveshare is this one, the identifier is waveshare HDMI/VGA/AV RTD2660H Viedo Board [sic]
    – Dave
    May 3, 2020 at 13:53
  • Also, rather than xorg.conf, you may want to create a /etc/X11/xorg.conf.d/99-waveshare-.conffile… (but either should work)
    – Dave
    May 3, 2020 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.