aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-17 09:42:34 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-17 09:42:34 +0100
commit929402828d99810211c644ce4ecf07b98013be10 (patch)
tree92a085eb71c7e918e130514de226b5736826237a /src
parentaa5f8cdd1a3195a3f81d3be8a5f74325304fe1d1 (diff)
Window: implement function to disable key repeat
Diffstat (limited to 'src')
-rw-r--r--src/window/Window.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window/Window.cpp b/src/window/Window.cpp
index ee984fd..d19d3c8 100644
--- a/src/window/Window.cpp
+++ b/src/window/Window.cpp
@@ -83,9 +83,8 @@ namespace mgl {
mgl_window_set_framerate_limit(&window, fps);
}
- // TODO: Implement
void Window::set_key_repeat_enabled(bool enabled) {
-
+ mgl_window_set_key_repeat_enabled(&window, enabled);
}
void Window::set_cursor_visible(bool visible) {