libinput/tools
Peter Hutterer b2a3706948 Add the LIBINPUT_DEVICE_CAP_TABLET_PAD capability and matching interface
This interface handles the buttons on the physical tablet itself, including
the touch ring and the strip.

A notable difference to other libinput interfaces here is that we do not use
linux/input.h event codes for buttons. Instead, the buttons are merely
numbered sequentially, starting at button 1. This means:
* the API is different, instead of get_button() we have get_button_number() to
  drive the point home
* there is no seat button count. pads are inherently different devices and
  compositors should treat them as such. The seat button count makes sense
  when you want to know how many devices have BTN_LEFT down, but it makes no
  sense for buttons where all the semantics are handled by the compositor
  anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
2016-04-18 09:12:02 +10:00
..
.gitignore tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
event-debug.c Add the LIBINPUT_DEVICE_CAP_TABLET_PAD capability and matching interface 2016-04-18 09:12:02 +10:00
event-gui.c Add the LIBINPUT_DEVICE_CAP_TABLET_PAD capability and matching interface 2016-04-18 09:12:02 +10:00
libinput-debug-events.man tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
libinput-list-devices.c Merge branch 'master' into tablet-support 2016-01-27 13:54:00 +10:00
libinput-list-devices.man tools: fix typo in man page 2015-04-30 16:44:43 +10:00
make-ptraccel-graphs.sh tools: add shell script for making the pointer acceleration graphs in the docs 2015-08-12 14:06:00 +10:00
Makefile.am tools: add shell script for making the pointer acceleration graphs in the docs 2015-08-12 14:06:00 +10:00
ptraccel-debug.c tools: allow filter-switching in ptraccel-debug 2015-08-12 14:06:00 +10:00
publish-doc tools: update the doc publish tool to take a subdir 2016-04-12 07:56:52 +10:00
shared.c touchpad: add a config option to disable tap-and-drag 2016-01-27 10:03:28 +10:00
shared.h touchpad: add a config option to disable tap-and-drag 2016-01-27 10:03:28 +10:00