summaryrefslogtreecommitdiffhomepage
path: root/dinput/keybinding-worker.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-02 11:20:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 00:16:14 +0200
commit43f082e9de6cacab40b7df63ca4ea40a63a8440d (patch)
tree9aa7b320a3e8a3b5cff6cc0a94aa92d426a66941 /dinput/keybinding-worker.hpp
parent93bb0f6acb6c99fe5748f118daccfa75dbcde0c3 (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.hpp2
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;