diff options
author | Sam Lantinga <slouken@libsdl.org> | 2021-12-15 22:49:19 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2021-12-16 09:04:58 -0800 |
commit | 313815f8184278dd2eabe1fbe05488dc527e4a0a (patch) | |
tree | ee991d659e0ba4bedcdfa512e099c75e25020b59 /thirdparty/volk/volk.h | |
parent | 765032ae956b51c85435e7619774f31211843af4 (diff) |
Fixed event spam when using the Nintendo Switch controller
There is no filtering on the Nintendo Switch Pro controller thumbstick, so there will frequently be events with very slight change. These are turned into "not pressed" events, which cancel "pressed" events from keys and buttons.
This change filters out up to 5% jitter, but it might be worth revisiting whether "not pressed" events should cancel "pressed" events.
Diffstat (limited to 'thirdparty/volk/volk.h')
0 files changed, 0 insertions, 0 deletions