mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 19:20:05 +01:00
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> |
||
|---|---|---|
| .. | ||
| libinput-debug-events.c | ||
| libinput-debug-events.man | ||
| libinput-debug-gui.c | ||
| libinput-debug-gui.man | ||
| libinput-debug-tablet.c | ||
| libinput-debug-tablet.man | ||
| libinput-list-devices.c | ||
| libinput-list-devices.man | ||
| libinput-measure-fuzz.man | ||
| libinput-measure-fuzz.py | ||
| libinput-measure-touch-size.man | ||
| libinput-measure-touch-size.py | ||
| libinput-measure-touchpad-pressure.man | ||
| libinput-measure-touchpad-pressure.py | ||
| libinput-measure-touchpad-tap.man | ||
| libinput-measure-touchpad-tap.py | ||
| libinput-measure.c | ||
| libinput-measure.man | ||
| libinput-quirks.c | ||
| libinput-quirks.man | ||
| libinput-record-verify-yaml.py | ||
| libinput-record.c | ||
| libinput-record.man | ||
| libinput-replay | ||
| libinput-replay.man | ||
| libinput-tool.c | ||
| libinput.man | ||
| make-ptraccel-graphs.sh | ||
| ptraccel-debug.c | ||
| shared.c | ||
| shared.h | ||
| test-tool-option-parsing.py | ||