]> git.mdlowis.com Git - proto/labwc.git/commit
input: add tablet pad setup and button handler
authorJens Peters <jp7677@gmail.com>
Tue, 2 Jan 2024 17:26:25 +0000 (18:26 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 2 Jan 2024 21:28:42 +0000 (21:28 +0000)
commitc2687d9281a7204c6eef11a190956a0b4a2b7885
treed570716d4db3c046547b37c18d1ee6c83ca85d03
parent28e7cd30065719c5418b9c7263e8acd34bd739d5
input: add tablet pad setup and button handler

Split pad initialization from tablet initialization to
avoid conflicting handler names.
Also reuse 'get_mapped_button'.
include/input/tablet.h
include/input/tablet_pad.h [new file with mode: 0644]
src/input/meson.build
src/input/tablet.c
src/input/tablet_pad.c [new file with mode: 0644]
src/seat.c