smithay icon indicating copy to clipboard operation
smithay copied to clipboard

Touch and tablet events in X11 backend

Open i509VCB opened this issue 4 years ago • 3 comments

For parity with the Winit backend, we probably want to implement touch event support for the X11 backend.

Regarding implementation, we can optionally depend on the xinput extension to receive touch events from the X server. I believe tablet events can also be received from xinput as well.

i509VCB avatar Oct 28 '21 00:10 i509VCB

Random thought on how this could be approached when one has a suitable device: Run xprop, xinput --test and xinput --test-xi2 in three terminals and check what they say when some input events come in.

psychon avatar Dec 11 '21 15:12 psychon

Random thought on how this could be approached when one has a suitable device: Run xprop, xinput --test and xinput --test-xi2 in three terminals and check what they say when some input events come in.

I have a touchscreen laptop and several drawing tablets I can take off my brother, so no worry about device availability for me at least.

i509VCB avatar Dec 13 '21 18:12 i509VCB

Yeah I have a wacom tablet too, so we should be fine on that front.

PolyMeilex avatar Dec 13 '21 18:12 PolyMeilex