Add touchpad device type

It is nice to have finer granularity for device types to allow for
configurations such as using `naturalScroll` on touchpads, but not on
regular pointer devices such as mice.
This commit is contained in:
Jared Baur 2023-12-15 07:36:29 -08:00 committed by Johan Malm
parent e3cd189769
commit 6faee17d20
6 changed files with 30 additions and 15 deletions

View file

@ -9,6 +9,7 @@
enum device_type {
DEFAULT_DEVICE,
TOUCH_DEVICE,
TOUCHPAD_DEVICE,
NON_TOUCH_DEVICE,
};