--- a/src/display.h Mon Jul 21 00:08:34 2008 +0000 +++ b/src/display.h Thu Aug 07 23:35:03 2008 +0000 @@ -314,6 +314,12 @@ void input_event_mouse( uint32_t buttons, int32_t x_axis, int32_t y_axis ); +/** + * Given a keycode and the originating input driver, return the corresponding + * keysym. The caller is responsible for freeing the string. + * @return a newly allocated string, or NULL of the keycode is unresolvable. + */ +gchar *input_keycode_to_keysym( input_driver_t driver, uint16_t keycode ); typedef void (*display_keysym_callback_t)( void *data, const gchar *keysym );