diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 22:26:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:05:21 +0200 |
commit | 9166ce3e799ec8f76d722d3334892429e10606f5 (patch) | |
tree | ee129583a37ebbe4e89a24f84f89093e8c33117b /dinput | |
parent | 1cfafd9df6e334ac436cc4ffd78de6341b9caa42 (diff) |
dinput: fix joystick POV hat typo
Diffstat (limited to 'dinput')
-rw-r--r-- | dinput/win32-joystick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/win32-joystick.cpp b/dinput/win32-joystick.cpp index a8a3f388..823d9ae3 100644 --- a/dinput/win32-joystick.cpp +++ b/dinput/win32-joystick.cpp @@ -230,7 +230,7 @@ bool win32_joy_ctx::joy::poll(fn const& f) for (unsigned j = 0; j < 4; j++) { //pressed[i] = state[j]; - f(guid, i, state[j]); + f(guid, i + j, state[j]); } } else if (i != -1) |