aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-21 02:06:53 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-21 02:06:53 +0100
commit66e7ceaa96de5c2acdea89b33773219ec0bb2c27 (patch)
treef7b15d40e21244098eda2a750d7189cfbd74ce1c /include
parent97d24e6a1b1fe8d2a4e217f9ee3f82a1accf468a (diff)
Add mgl_key_to_string
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_ */