mpv/video/out/cocoa
Akemi b726f1eb90 cocoa: distinguish between horizontal and vertical scroll
we need to switch the x and y deltas when Shift is being held because
macOS switches them around. otherwise we would get a horizontal scroll
on a vertical one and vice versa.

additional we switch from deltaX/Y to scrollingDeltaX/Y since the Apple
docs suggest it's the preferred way now. in my tests both reported the
same values on imprecise scrolls though.
2017-07-31 20:22:33 +02:00
..
events_view.h osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
events_view.m cocoa: distinguish between horizontal and vertical scroll 2017-07-31 20:22:33 +02:00
mpvadapter.h osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
video_view.h osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
video_view.m osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
window.h osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00
window.m osx: change license header on some more cocoa files 2017-06-24 16:50:52 +02:00