From 739c958ac58154f8b1896113701e1c7f580d4cde Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 18 Mar 2003 08:38:33 +0000 Subject: keyboard bindings are functional --- plugins/keyboard/keyboard.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/keyboard/keyboard.h (limited to 'plugins/keyboard/keyboard.h') 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 + +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 -- cgit v1.2.3