WindowScrollWheelFcn - Horizontal Scroll
3 views (last 30 days)
Show older comments
Hi, How can I capture horizontal mouse scroll wheel events? I am familiar with the WindowScrollWheelFcn, but as far as I know it returns only Vertical Scroll data. Thanks, Naama
2 Comments
Adam
on 24 Nov 2016
Edited: Adam
on 24 Nov 2016
What do you mean by horizontal scroll? I don't think I've ever seen a mouse with a horizontal scroll wheel, though I'm sure they exist. If they do though I'm not sure Mathworks has support for them.
WindowScrollWheelFcn reacts to the mouse wheel scrolling, it is neither horizontal nor vertical as such other than that your mouse wheel is usually oriented in a way that would intuitively be considered as vertical for e.g. scrollbars.
Jan
on 24 Nov 2016
Apple's MagicMouse scrolls in each direction: https://www.apple.com/de/mightymouse/design.html Unfortunately you cannot catch this in Matlab.
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!