This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two-finger right-click and zoom with a touch screen
#2
Hi Abarrow:

Thanks for the detailed Instructions.

They are certainly easy to follow, however, my touch screen ( Hanspree 22 inches), has 2 different IDs:

This is what I get with Command Xinput:

pi@openplotter:~/temp/twofing-0.1.2 $ xinput
\u23a1 Virtual core pointer                    id=2 [master pointer  (3)]
\u239c   \u21b3 Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
\u239c   \u21b3 Weida Hi-Tech                CoolTouchR System            Mouse id=6 [slave  pointer  (2)]
\u239c   \u21b3 Weida Hi-Tech                CoolTouchR System            id=7 [slave  pointer  (2)]
\u239c   \u21b3 Logitech M705                            id=8 [slave  pointer  (2)]
\u239c   \u21b3 Logitech M310                            id=9 [slave  pointer  (2)]
\u239c   \u21b3 Logitech K400                            id=10 [slave  pointer  (2)]
\u239c   \u21b3 Logitech M187                            id=11 [slave  pointer  (2)]
\u23a3 Virtual core keyboard                    id=3 [master keyboard (2)]
\u21b3 Virtual core XTEST keyboard              id=5 [slave  keyboard (3)]
\u21b3 Logitech K400                            id=12 [slave  keyboard (3)]


As you can seem the name is very long and has huge gaps with spaces; one has id6 and the other id7; both categorized as "slave pointer"

However, Later, in lsub, i have just one unnamed USD device:

Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 2575:0401  
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So when I edit egalax rules, Idvendor is clear (2575),Idproduct is clear too: (0401), but down on line ATRS, I should write the name; but which of both names? Should I write both?
Should i copy paste exactly as is? ( With all the spaces): "Weida Hi-Tech                CoolTouchR System            Mouse " and "[b]Weida Hi-Tech                CoolTouchR System"[/b] ??

I am still learning linux and I fear to wreck my system; I have worked so many hours on it!   Angel So I prefer to ask before continue and spoil everything

Any clues?

Thanks!
Reply


Messages In This Thread
RE: Two-finger right-click and zoom with a touch screen - by aitonos - 2021-04-27, 11:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)