With respect to http://lists.freedesktop.org/archives/wayland-devel/2014-September/017259.html and https://bugzilla.gnome.org/show_bug.cgi?id=698226:
I own a ThinkPad Twist, which has a tablet mode. When in tablet mode, the back of the screen touches the trackpoint and touchpad, which makes the mouse pointer jiggle and move. Devices that matter in this case are /dev/input/event7: ThinkPad Extra Buttons /dev/input/event14: SynPS/2 Synaptics TouchPad /dev/input/event15: TPPS/2 IBM TrackPoint event7 triggers the right events: SW_TABLET_MODE (thanks to evtest) Event: time 1446840780.539488, type 5 (EV_SW), code 1 (SW_TABLET_MODE), value 1 Event: time 1446840780.539488, -------------- SYN_REPORT ------------ Event: time 1446840783.154657, type 5 (EV_SW), code 1 (SW_TABLET_MODE), value 0 Event: time 1446840783.154657, -------------- SYN_REPORT ------------ If someone could guide me a little on where and how the code should come (probably libinput?), then I'd be happy to write this. The first mail I mentioned ([PATCH libinput 0/8] Add libinput_device_suspend() to disable devices, by Peter Hutterer), makes me think this could become more complicated then I'd guess. If not, I'd guess it's as easy as calling int evdev_device_suspend(struct evdev_device *device); int evdev_device_resume(struct evdev_device *device); which said Peter added back in 2014, when the right events are fired. Please advice. Ruben De Smet
signature.asc
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel