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