kwin/libinput
Martin Gräßlin 4d7134f6c7 [libinput] Add a wrapper class Device for a libinput_device
Summary:
The Device class wraps all the information we can get from libinput
about the device, like whether it's a keyboard, pointer, touch, etc.

In addition some more information is queried to figure out how "useful"
a device is. For a keyboard all alphanumeric keys are checked whether
they exist, for a pointer all (normal) buttons are queried.

All the information is exposed as Q_PROPERTY and used by the
DebugConsole. The DebugConsole gained a new tab "Input Devices" which
renders all devices and their properties in a tree view. When plugging
in/out a device, the model gets reset, so it's always up to date.

The new Device class can be used in future to configure the device,
e.g. disable touch pad, set mouse acceleration, etc.

Reviewers: #plasma

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1538
2016-05-06 08:21:49 +02:00
..
connection.cpp [libinput] Add a wrapper class Device for a libinput_device 2016-05-06 08:21:49 +02:00
connection.h [libinput] Add a wrapper class Device for a libinput_device 2016-05-06 08:21:49 +02:00
context.cpp Fix build of stable branch on build.kde.org 2016-03-03 08:00:55 +01:00
context.h Move Udev into an own header and implementation 2015-04-24 12:03:19 +02:00
device.cpp [libinput] Add a wrapper class Device for a libinput_device 2016-05-06 08:21:49 +02:00
device.h [libinput] Add a wrapper class Device for a libinput_device 2016-05-06 08:21:49 +02:00
events.cpp Touch support in libinput 2015-03-25 16:40:17 +01:00
events.h Touch support in libinput 2015-03-25 16:40:17 +01:00
libinput_logging.cpp [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00
libinput_logging.h [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00