--- rxvt-unicode/src/keyboard.h 2011/11/27 10:50:41 1.20 +++ rxvt-unicode/src/keyboard.h 2011/12/03 11:31:56 1.23 @@ -59,7 +59,7 @@ /* which are mapped to corresponding lower bits at register time */ uint16_t state; /* indicates each modifiers' DOWN/UP status */ keysym_type type; - char *str; /* would normally be a keycode translation in UTF-8 */ + char *str; /* the key's definition encoded in UTF-8 */ }; class keyboard_manager @@ -68,8 +68,7 @@ keyboard_manager (); ~keyboard_manager (); - void register_user_translation (KeySym keysym, unsigned int state, const char *trans); - void register_translation (KeySym keysym, unsigned int state, char *translation); + void register_user_translation (KeySym keysym, unsigned int state, const wchar_t *ws); void register_done (); // call this to make newly registered key bindings take effect bool dispatch (rxvt_term *term, KeySym keysym, unsigned int state);