Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
As you know, there is an option in Lion to reverse mouse wheel in Lion to be more like TrackPad. Is there any way to know from the application the state of this option? Is there any system call for that?

I need it for a C++/Cocoa program.
Posted
Comments
Code-o-mat 12-Dec-11 5:13am    
Not sure if it is related or not and if it helps you or not, but a quick google search gave me this: http://www.tech-recipes.com/rx/11757/os-x-lion-10-7-reverse-scroll-direction/ , here they imply that this settings is at:
~/Library/Preferences/.GlobalPreferences -> com.apple.swipescrolldirection
I guess if you knew how to read these global preferences then you could query it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900