diff options
Diffstat (limited to 'plugins/keyboard/keyboard.h')
| -rw-r--r-- | plugins/keyboard/keyboard.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/keyboard/keyboard.h b/plugins/keyboard/keyboard.h new file mode 100644 index 00000000..b183fa38 --- /dev/null +++ b/plugins/keyboard/keyboard.h @@ -0,0 +1,23 @@ +#ifndef __plugin_keyboard_keybaord_h +#define __plugin_keyboard_keybaord_h + +#include "keyaction.h" +#include <glib.h> + +typedef struct KeyBindingTree { + guint state; + guint key; + GList *keylist; + KeyAction action; + + /* the next binding in the tree at the same level */ + struct KeyBindingTree *next_sibling; + /* the first child of this binding (next binding in a chained sequence).*/ + struct KeyBindingTree *first_child; +} KeyBindingTree; + +extern KeyBindingTree *firstnode; + +guint keyboard_translate_modifier(char *str); + +#endif |
