xinput/evdev switch events+state

Peter Hutterer peter.hutterer at who-t.net
Mon Nov 22 14:28:47 PST 2010


On Mon, Nov 22, 2010 at 01:53:22PM -0500, Rafi Rubin wrote:
> Some tablets (such as dell and hp) report hinge rotation as EV_SW events.  Does
> it make sense to handle events and state in the X evdev driver and xinput?

yes, but I don't think button events are the right method for this. in the
XI2 development cycle I played around with a SwitchClass for this purpose
but dropped it for XI 2.0 for lack of time.

IMO a protocol addition for this class would be the best solution.
 
Cheers,
  Peter



More information about the xorg-devel mailing list