mirror of https://github.com/mpv-player/mpv
2aeeb28dd1
Apparently Cocoa precise scrolling generates a lot of spurious events with a delta that is equal to 0.0. Make sure that they are discarded and not added to the input queue. Even though this only known to happen with Cocoa, I implemented this at core level since it makes sense in general. Fixes: #310 |
||
---|---|---|
.. | ||
input.c | ||
input.h | ||
joystick.c | ||
joystick.h | ||
keycodes.h | ||
lirc.c | ||
lirc.h |