aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index fc631373..0c94fb63 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -93,6 +93,8 @@ static const char *ipc_json_device_type_description(struct sway_input_device *de
return "tablet_tool";
case WLR_INPUT_DEVICE_TABLET_PAD:
return "tablet_pad";
+ case WLR_INPUT_DEVICE_SWITCH:
+ return "switch";
}
return "unknown";
}