diff options
Diffstat (limited to 'rcm-server-keymap.h')
-rw-r--r-- | rcm-server-keymap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rcm-server-keymap.h b/rcm-server-keymap.h index 8676fbc..03badb1 100644 --- a/rcm-server-keymap.h +++ b/rcm-server-keymap.h @@ -8,8 +8,9 @@ struct keycode { }; struct keymap { + char *id; char *name; - char *desc; + char *description; uint16_t rows; uint16_t cols; struct list_head list; @@ -18,7 +19,7 @@ struct keymap { struct keycode keycodes[]; }; -struct keymap *find_keymap_by_name(struct device *dev, const char *name); +struct keymap *find_keymap_by_id(struct device *dev, const char *id); int keymaps_load(struct device *device); |