diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2017-04-25 22:58:18 +1000 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2017-05-12 22:58:58 +1000 |
commit | 18a45a42d524fe5377265485754d6413a8d14799 (patch) | |
tree | 6c20af13d1e0346da720ccad9122ae280b3ebd9d /video/gpu_memcpy.h | |
parent | 89fd3e1d9d25731c6cae8af1b9c5b0bae726c436 (diff) | |
download | mpv-18a45a42d524fe5377265485754d6413a8d14799.tar.bz2 mpv-18a45a42d524fe5377265485754d6413a8d14799.tar.xz |
w32_common: generate MP_AXIS_* keycodes for scrolling
Windows doesn't have a way to distinguish "precise" mouse wheel events
and events from regular notched mouse wheels. A notched wheel should
always send events with a delta of 120, but a precise wheel could also
happen to send 120 if multiple scroll events are coalesced (and to make
things even harder, some buggy Microsoft drivers send deltas less than
120, even for notched wheels.) Since there is no distinction, but
MP_AXIS_* keycodes can hold more information (the delta value,) send
MP_AXIS_* events for both kinds of mouse wheel scrolling.
Diffstat (limited to 'video/gpu_memcpy.h')
0 files changed, 0 insertions, 0 deletions