aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-07-17 17:12:20 -0400
committerFurkan Sahin <furkan-dev@proton.me>2019-07-17 17:12:20 -0400
commit673ad9a949ba7c283a5e6f34c559592a104ad015 (patch)
tree686cc1e219d8236f8c9864c9992b3cb6b44c9583 /include/ipc.h
parent21274f0f1ad81e9b34fecb8aff0448710ded4dbf (diff)
ipc: add an input event
This adds an ipc event related to input devices. Currently the following changes are supported: - added: when an input device becomes available - removed: when an input device is no longer available - xkb_keymap_changed: (keyboards only) the keymap changed - xkb_layout_changed: (keyboards only) the effective layout changed
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h
index 6063f69c..7ae21ab3 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -34,6 +34,7 @@ enum ipc_command_type {
// sway-specific event types
IPC_EVENT_BAR_STATE_UPDATE = ((1<<31) | 20),
+ IPC_EVENT_INPUT = ((1<<31) | 21),
};
#endif