[Differential] [Request, 516 lines] D1538: [libinput] Add a wrapper class Device for a libinput_device

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Wed May 4 11:47:17 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION 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.

REPOSITORY
  rKWIN KWin

BRANCH
  libinput-device

REVISION DETAIL
  https://phabricator.kde.org/D1538

AFFECTED FILES
  CMakeLists.txt
  debug_console.cpp
  debug_console.h
  debug_console.ui
  libinput/connection.cpp
  libinput/connection.h
  libinput/device.cpp
  libinput/device.h
  tests/CMakeLists.txt

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160504/afa0e4d0/attachment-0001.html>


More information about the Plasma-devel mailing list