diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-09 15:29:18 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-09 15:29:18 +0100 |
commit | a80477f2e7f4c18adcc6441828d17582aad2598f (patch) | |
tree | fc26007bf3c9ea463cb4572bc26cf176d4b85d63 /src/crepe/api | |
parent | 2ff3369a7aaf98936bf93f1c7c0dbfcaa38c31d7 (diff) |
get_keyboard_state working
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h index a9745c3..7b1a5ca 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -86,6 +86,12 @@ public: */ std::string root_pattern = ".crepe-root"; } asset; + //! Configuration for click tolerance. + struct { + //! The maximum number of pixels the mouse can move between MouseDown and MouseUp events to be considered a click. + int tolerance = 5; + } click_tolerance; + }; } // namespace crepe |