diff options
Diffstat (limited to 'plugins/keyboard/keyboard.c')
| -rw-r--r-- | plugins/keyboard/keyboard.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c new file mode 100644 index 00000000..3e621849 --- /dev/null +++ b/plugins/keyboard/keyboard.c @@ -0,0 +1,18 @@ +#include "../../kernel/dispatch.h" + +static void press(ObEvent *e, void *foo) +{ +} + +void plugin_startup() +{ + dispatch_register(Event_X_KeyPress, (EventHandler)press, NULL); + + /* XXX parse config file! */ +} + +void plugin_shutdown() +{ + dispatch_register(0, (EventHandler)press, NULL); +} + |
