From 929402828d99810211c644ce4ecf07b98013be10 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 17 Nov 2021 09:42:34 +0100 Subject: Window: implement function to disable key repeat --- src/window/Window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3