X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.h;h=6d9e23bcb26f332305ab64734e380539371e98e7;hb=d394d8c613b8b85cd3ee92b6114716e57f8d03ce;hp=8249514e10e5fdd47051f4abe96a1fe5f2aa6cda;hpb=2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919;p=chaz%2Fopenbox diff --git a/openbox/translate.h b/openbox/translate.h index 8249514e..6d9e23bc 100644 --- a/openbox/translate.h +++ b/openbox/translate.h @@ -24,4 +24,10 @@ 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 */ +gchar *translate_keycode(guint keycode); + +/*! Translate a keycode to the unicode character it represents */ +gunichar translate_unichar(guint keycode); + #endif