aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/key.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mgl/window/key.h b/include/mgl/window/key.h
index 0cd3c03..c58fbcd 100644
--- a/include/mgl/window/key.h
+++ b/include/mgl/window/key.h
@@ -109,4 +109,7 @@ typedef enum {
__MGL_NUM_KEYS__
} mgl_key;
+/* Return NULL if unknown key */
+const char* mgl_key_to_string(mgl_key key);
+
#endif /* _MGL_KEY_H_ */