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 --- depends/mgl | 2 +- src/window/Window.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/depends/mgl b/depends/mgl index ff24e4c..a14eb65 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit ff24e4c604479fdcedfacca35af3bb4810683c68 +Subproject commit a14eb65e82d226fe8b33ca23d29eeba02066357d 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