diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-02 11:20:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-05 00:16:14 +0200 |
commit | 43f082e9de6cacab40b7df63ca4ea40a63a8440d (patch) | |
tree | 9aa7b320a3e8a3b5cff6cc0a94aa92d426a66941 /dinput/keybinding-worker.hpp | |
parent | 93bb0f6acb6c99fe5748f118daccfa75dbcde0c3 (diff) |
dinput: try fix cpu usage
I forgot who reported this, sorry.
Diffstat (limited to 'dinput/keybinding-worker.hpp')
-rw-r--r-- | dinput/keybinding-worker.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/keybinding-worker.hpp b/dinput/keybinding-worker.hpp index 407b0107..2596bda0 100644 --- a/dinput/keybinding-worker.hpp +++ b/dinput/keybinding-worker.hpp @@ -61,7 +61,7 @@ private: void remove_receiver(fun* pos); ~KeybindingWorker(); - static constexpr int num_keyboard_states = 128; + static constexpr int num_keyboard_states = 16; DIDEVICEOBJECTDATA keyboard_states[num_keyboard_states]; KeybindingWorker(const KeybindingWorker&) = delete; |