]> icculus.org git repositories - dana/openbox.git/blob - plugins/keyboard/keyboard.h
keyboard bindings are functional
[dana/openbox.git] / plugins / keyboard / keyboard.h
1 #ifndef __plugin_keyboard_keybaord_h
2 #define __plugin_keyboard_keybaord_h
3
4 #include "keyaction.h"
5 #include <glib.h>
6
7 typedef struct KeyBindingTree {
8     guint state;
9     guint key;
10     GList *keylist;
11     KeyAction action;
12
13     /* the next binding in the tree at the same level */
14     struct KeyBindingTree *next_sibling; 
15     /* the first child of this binding (next binding in a chained sequence).*/
16     struct KeyBindingTree *first_child;
17 } KeyBindingTree;
18
19 extern KeyBindingTree *firstnode;
20
21 guint keyboard_translate_modifier(char *str);
22
23 #endif