diff options
Diffstat (limited to 'rcm-server-keymap.h')
-rw-r--r-- | rcm-server-keymap.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rcm-server-keymap.h b/rcm-server-keymap.h new file mode 100644 index 0000000..f29c0af --- /dev/null +++ b/rcm-server-keymap.h @@ -0,0 +1,22 @@ +#ifndef foorcmserverkeymaphfoo +#define foorcmserverkeymaphfoo + +struct keycode { + char *name; + char *value; +}; + +struct keymap { + char *name; + uint16_t rows; + uint16_t cols; + struct list_head list; + struct keycode keycodes[]; +}; + +struct keymap *find_keymap_by_name(struct device *dev, const char *name); + +int keymaps_load(struct device *device); + +#endif + |