X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.h;h=6d9e23bcb26f332305ab64734e380539371e98e7;hb=cfc8101333535e3336eff5e929839c5262231db6;hp=14efe73da6a64688a8904338b25f7e4b6695e916;hpb=5d5be2ba2a6e0b3886e0076475ed9d7a2d4ac9ab;p=chaz%2Fopenbox diff --git a/openbox/translate.h b/openbox/translate.h index 14efe73d..6d9e23bc 100644 --- a/openbox/translate.h +++ b/openbox/translate.h @@ -25,5 +25,9 @@ gboolean translate_button(const gchar *str, guint *state, guint *keycode); gboolean translate_key(const gchar *str, guint *state, guint *keycode); /*! Give the string form of a keycode */ -const gchar *translate_keycode(guint keycode); +gchar *translate_keycode(guint keycode); + +/*! Translate a keycode to the unicode character it represents */ +gunichar translate_unichar(guint keycode); + #endif