libinput/tools
Peter Hutterer 2d1bcf982a pad: add LIBINPUT_EVENT_TABLET_PAD_KEY for pad keys
The Wacom Cintiq 24HD and later tablets send specific key events for
hardware/soft buttons. KEY_PROG1..KEY_PROG3 on earlier tablets,
KEY_CONTROLPANEL, KEY_ONSCREEN_DISPLAY, and KEY_BUTTONCONFIG on later tablets.
We ignore KEY_PROG1-3 because starting with kernel 5.4 older tablets will too
use the better-named #defines.

These differ from pad buttons as the key code in itself carries semantic
information, so we should pass them on as-is instead of mapping them to
meaningless 0-indexed buttons like we do on the other buttons.

So let's add a new event, LIBINPUT_EVENT_TABLET_PAD_KEY and the associated
functions to handle that case.

Pad keys have a fixed hw-defined semantic meaning and are thus not part of
a tablet mode group.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-12-04 15:38:39 +10:00
..
libinput-debug-events.c pad: add LIBINPUT_EVENT_TABLET_PAD_KEY for pad keys 2019-12-04 15:38:39 +10:00
libinput-debug-events.man tools: make debug-events accept multiple device nodes 2019-11-26 00:34:08 +00:00
libinput-debug-gui.c pad: add LIBINPUT_EVENT_TABLET_PAD_KEY for pad keys 2019-12-04 15:38:39 +10:00
libinput-debug-gui.man tools: debug-gui: show pressure/distance as vertical bar 2019-11-01 08:38:59 +10:00
libinput-debug-tablet.c tools: make debug-events accept multiple device nodes 2019-11-26 00:34:08 +00:00
libinput-debug-tablet.man tools: add a tablet debugging tool 2019-11-19 09:56:14 +10:00
libinput-list-devices.c tools: make debug-events accept multiple device nodes 2019-11-26 00:34:08 +00:00
libinput-list-devices.man libinput-list-devices: make paragraph about different settings terser 2019-10-28 05:40:02 +00:00
libinput-measure-fuzz.man touchpad: add a tool to measure the touchpad fuzz 2018-05-15 13:51:33 +10:00
libinput-measure-fuzz.py tools: flake8 fixes for the various python files 2019-09-11 12:02:58 +10:00
libinput-measure-touch-size.man tools: touch-size: update to use the device quirks 2018-06-21 11:48:41 +10:00
libinput-measure-touch-size.py tools: flake8 fixes for the various python files 2019-09-11 12:02:58 +10:00
libinput-measure-touchpad-pressure.man tools: touchpad-pressure: update man page for device quirks 2018-06-21 11:41:25 +10:00
libinput-measure-touchpad-pressure.py tools: flake8 fixes for the various python files 2019-09-11 12:02:58 +10:00
libinput-measure-touchpad-tap.man tools: fix typo in man page 2017-11-16 13:13:28 +10:00
libinput-measure-touchpad-tap.py tools: flake8 fixes for the various python files 2019-09-11 12:02:58 +10:00
libinput-measure.c libinput-measure.c: remove unused includes 2019-09-13 00:07:39 +03:00
libinput-measure.man tools: correct libinput measure reference to the tap man page 2019-10-29 11:08:19 +10:00
libinput-quirks.c Remove some usage of libinput-util.h 2019-09-11 12:23:06 +10:00
libinput-quirks.man tools: rename list-quirks to the more generic "quirks list" 2018-07-03 15:16:59 +10:00
libinput-record-verify-yaml.py tools: flake8 fixes for the various python files 2019-09-11 12:02:58 +10:00
libinput-record.c tools: libinput-record: drop the explicit --multiple argument 2019-11-27 10:34:18 +10:00
libinput-record.man tools: libinput-record: drop the explicit --multiple argument 2019-11-27 10:34:18 +10:00
libinput-replay tools: replay: fix wrong timestamps for multiple device replay 2019-11-25 23:06:09 +00:00
libinput-replay.man tools: add a libinput-replay tool 2018-03-01 11:50:46 +10:00
libinput-tool.c libinput-tool.c: remove unused includes 2019-09-13 00:07:39 +03:00
libinput.man tools: add a tablet debugging tool 2019-11-19 09:56:14 +10:00
make-ptraccel-graphs.sh tools: make-ptraccel-graphs: drop an unnecessary outfile 2018-07-11 16:04:59 +10:00
ptraccel-debug.c Add quirk to control velocity averaging, disable it by default 2018-08-22 12:12:55 +02:00
shared.c tools: make debug-events accept multiple device nodes 2019-11-26 00:34:08 +00:00
shared.h tools: make debug-events accept multiple device nodes 2019-11-26 00:34:08 +00:00
test-tool-option-parsing.py tools: debug-events: don't overrun the device array with too many arguments 2019-12-04 12:50:11 +10:00