--- rxvt-unicode/src/keyboard.h 2011/04/30 18:45:38 1.14 +++ rxvt-unicode/src/keyboard.h 2011/06/02 17:43:43 1.17 @@ -28,7 +28,6 @@ #include -#include "feature.h" #include "rxvtutil.h" #define KEYSYM_HASH_BITS 4 /* lowest #bits of keysym is used as hash key */ @@ -47,12 +46,6 @@ #endif struct rxvt_term; -struct keysym_t; - -typedef void (keyevent_handler) (rxvt_term *rt, - keysym_t *key, - KeySym keysym, - unsigned int state); struct keysym_t { @@ -77,6 +70,7 @@ void clear (); void register_user_translation (KeySym keysym, unsigned int state, const char *trans); + void register_translation (KeySym keysym, unsigned int state, char *translation); void register_done (); // call this to make newly registered keymaps take effect bool dispatch (rxvt_term *term, KeySym keysym, unsigned int state);