diff options
Diffstat (limited to 'src/window/Keyboard.cpp')
-rw-r--r-- | src/window/Keyboard.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/window/Keyboard.cpp b/src/window/Keyboard.cpp new file mode 100644 index 0000000..bd031db --- /dev/null +++ b/src/window/Keyboard.cpp @@ -0,0 +1,12 @@ +#include "../../include/mglpp/window/Keyboard.hpp" + +extern "C" { +#include <mgl/window/key.h> +} + +namespace mgl { + // static + const char* Keyboard::key_to_string(Key key) { + return mgl_key_to_string((mgl_key)key); + } +}
\ No newline at end of file |