diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-18 08:38:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-18 08:38:33 +0000 |
| commit | 739c958ac58154f8b1896113701e1c7f580d4cde (patch) | |
| tree | 0f4ea545addb1b432efc3fe880906f0fa244cb12 /plugins/keyboard/keyboard.h | |
| parent | eeba457231e3823171716b47a1a4d0900907269e (diff) | |
keyboard bindings are functional
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 |
