summaryrefslogtreecommitdiffhomepage
path: root/opentrack/keybinding-worker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/keybinding-worker.hpp')
-rw-r--r--opentrack/keybinding-worker.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentrack/keybinding-worker.hpp b/opentrack/keybinding-worker.hpp
index fa50a974..19db0fa9 100644
--- a/opentrack/keybinding-worker.hpp
+++ b/opentrack/keybinding-worker.hpp
@@ -34,9 +34,10 @@ struct Key {
bool ctrl;
bool alt;
bool held;
+ bool enabled;
Timer timer;
public:
- Key() : keycode(0), shift(false), ctrl(false), alt(false), held(true) {}
+ Key() : keycode(0), shift(false), ctrl(false), alt(false), held(true), enabled(true) {}
bool should_process();
};