sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
114 stars 46 forks source link

implement touch event handling extension in CLX #86

Open dkochmanski opened 6 years ago

dkochmanski commented 6 years ago

https://www.x.org/wiki/Development/Documentation/Multitouch/

https://github.com/tomaka/glutin/pull/573/files https://unix.stackexchange.com/questions/146287/monitoring-events-keyboard-mouse-in-x http://blog.qt.io/blog/2010/12/15/touching-the-x11-2/ https://gabrbedd.wordpress.com/2012/07/13/handling-xinput-2-multitouch-events-in-qt-part-1/

to see them in console, use this command: xinput test-xi2, normal xev will confuse touch and mouse.

dmb2 commented 6 years ago

This will also need support for the xinput extensions: https://www.x.org/releases/X11R7.7/doc/libXi/inputlib.html https://www.x.org/wiki/guide/extensions/#index2h2 http://www.clearchain.com/blog/posts/xinput-1-xinput-2-conversion-guide