]> icculus.org git repositories - dana/openbox.git/blob - plugins/keyboard/keyboard.c
add a keyboard plugin
[dana/openbox.git] / plugins / keyboard / keyboard.c
1 #include "../../kernel/dispatch.h"
2
3 static void press(ObEvent *e, void *foo)
4 {
5 }
6
7 void plugin_startup()
8 {
9     dispatch_register(Event_X_KeyPress, (EventHandler)press, NULL);
10
11     /* XXX parse config file! */
12 }
13
14 void plugin_shutdown()
15 {
16     dispatch_register(0, (EventHandler)press, NULL);
17 }
18