aboutsummaryrefslogtreecommitdiff
path: root/src/window/Keyboard.cpp
blob: bd031db3cbf3093c4b3ed9c7ad9beed8636a7dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
    }
}