diff options
Diffstat (limited to 'src/glfw/window.cc')
-rw-r--r-- | src/glfw/window.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glfw/window.cc b/src/glfw/window.cc index 17fc36c..6fbbfee 100644 --- a/src/glfw/window.cc +++ b/src/glfw/window.cc @@ -22,3 +22,7 @@ int Window::getWidth() const { int Window::getHeight() const { return _height; } + +KeyWatcher Window::getKeyWatcher(int key) { + return KeyWatcher(_handle, key); +} |