summaryrefslogtreecommitdiff
path: root/rcm-server-keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'rcm-server-keymap.h')
-rw-r--r--rcm-server-keymap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rcm-server-keymap.h b/rcm-server-keymap.h
index f29c0af..6ece017 100644
--- a/rcm-server-keymap.h
+++ b/rcm-server-keymap.h
@@ -8,9 +8,12 @@ struct keycode {
struct keymap {
char *name;
+ char *desc;
uint16_t rows;
uint16_t cols;
struct list_head list;
+ struct keycode **layout;
+ unsigned keycode_count;
struct keycode keycodes[];
};
@@ -18,5 +21,7 @@ struct keymap *find_keymap_by_name(struct device *dev, const char *name);
int keymaps_load(struct device *device);
+void keymap_free(struct keymap *keymap);
+
#endif