Recent

Author Topic: Lazarus on Raspi with touch - right mouse button and hover possible?  (Read 1221 times)

ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Is there a hack to aid mouse emulation with a touch screen?

I have a nice LCL app running well with mouse & keyboard on a Raspberry Pi 3 (Buster). Now I bought a 11" USB attached touch screen. It works very well, despite I sometimes miss the show hint (mouse hover) and right mouse button click functionality.

Any hints how I can get either functionality with a touch screen?

Thnx, Armin.
« Last Edit: February 18, 2020, 07:51:39 pm by Nimral »
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: Lazarus on Raspi with touch - right mouse button and hover possible?
« Reply #1 on: February 18, 2020, 08:06:51 pm »
Is there a hack to aid mouse emulation with a touch screen?

I have a nice LCL app running well with mouse & keyboard on a Raspberry Pi 3 (Buster). Now I bought a 11" USB attached touch screen. It works very well, despite I sometimes miss the show hint (mouse hover) and right mouse button click functionality.

Any hints how I can get either functionality with a touch screen?

Thnx, Armin.

No experience with Raspberry here, but...

Long touch (touch and hold) always gives me the right click functionality. No insights for hover though.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Re: Lazarus on Raspi with touch - right mouse button and hover possible?
« Reply #2 on: February 18, 2020, 10:39:31 pm »
"Long Touch" - I tried that, but it doesn't do anything.
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Re: Lazarus on Raspi with touch - right mouse button and hover possible?
« Reply #4 on: February 19, 2020, 08:47:52 am »
Thanks for the link!

Armin.
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

 

TinyPortal © 2005-2018