aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-12-15 19:54:25 +0100
committerGitHub <noreply@github.com>2018-12-15 19:54:25 +0100
commit6d4bfa3226123e958ff2bdc4f226489cba49f84d (patch)
tree256c7c3ded68d4b95ed09f7a2fbfd5bc67dbcee9 /rootston/input.c
parent8a56b96c5516ee089b7561949aac4f83e5b94808 (diff)
parentf8129ecbc5147a62d93d6bac5e61e5ce79d89667 (diff)
Merge pull request #1377 from tokyovigilante/switch-events
Add support for libinput_switch input devices
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 7b4001b3..a863b919 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -23,6 +23,8 @@ static const char *device_type(enum wlr_input_device_type type) {
return "keyboard";
case WLR_INPUT_DEVICE_POINTER:
return "pointer";
+ case WLR_INPUT_DEVICE_SWITCH:
+ return "switch";
case WLR_INPUT_DEVICE_TOUCH:
return "touch";
case WLR_INPUT_DEVICE_TABLET_TOOL: