X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Ftranslate.h;h=21cd64984146ce5556693f5240864d011ce4fd8e;hb=0f677834e253dfd18a246c8811bf4a4e364d5e0e;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