aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-03 10:36:16 -0400
committerGitHub <noreply@github.com>2017-10-03 10:36:16 -0400
commit5f3c56de2805f11e84e0bb17edc30f455f0a3aaf (patch)
tree598f2b661eb02e78f78d6cd3f56a9877c23fc2d9 /include/rootston/config.h
parentddba002d2ac8060863db622c5391dc4b10f40760 (diff)
parenteadda29e841383c6649e8f85494516aff00b493f (diff)
Merge pull request #184 from emersion/rootston-keys
Keyboard modifiers
Diffstat (limited to 'include/rootston/config.h')
-rw-r--r--include/rootston/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 0832d88d..ece11829 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -18,6 +18,14 @@ struct device_config {
struct wl_list link;
};
+struct binding_config {
+ uint32_t modifiers;
+ xkb_keysym_t *keysyms;
+ size_t keysyms_len;
+ char *command;
+ struct wl_list link;
+};
+
struct roots_config {
// TODO: Multiple cursors, multiseat
struct {
@@ -27,6 +35,7 @@ struct roots_config {
struct wl_list outputs;
struct wl_list devices;
+ struct wl_list bindings;
char *config_path;
};