mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 18:30:06 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
Rather than adding a config interface to disable a device merely allow a caller to toggle the "send events" mode on the device. If off, the device won't send events (though further events may be received depending on the current state of the device). Default is enabled, i.e. the device sends events. A special mode is added to the obvious enable/disable: disable the device when an external mouse is connected. Once set, the device will be enabled when no mouse is present and stop sending events otherwise. This isn't hooked up to anything yet though. Built into the config API is the default option of "enabled". Any device supports this, for the obvious reason. Disabling or conditionally disabling is left to the implementation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| doc | ||
| include/linux | ||
| m4 | ||
| src | ||
| test | ||
| tools | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| Makefile.am | ||
| README | ||
libinput libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect. Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc. libinput originates from weston, the Wayland reference compositor. The source code of libinput can be found at: http://cgit.freedesktop.org/wayland/libinput For more information, visit: http://www.freedesktop.org/wiki/Software/libinput/