Thursday, November 10, 2011

BootCamp keys and invert scroll fix for Windows

The new direction of the scroll wheel in OS X 10.7 Lion is reversed, which seems a little insane at first, but quickly becomes obvious that this is the proper direction. What were we thinking?!

Parallels nicely inverts the scroll wheel for you when running Windows virtually. However when you run raw BootCamp on your Mac or perhaps you still have to use a Windows machine, there appears to be no standard scroll wheel inversion method.

Meet AutoHotKey. With a simple script you can have the mouse scroll wheel functioning in Windows the way that God intended. And while you are at it, why not map the Windows/Command key to the Control key.

I haven't quite figured out how to make Command+Tab map to Alt+Tab without messing up the Command/Windows to Control, so send in your solution if you have it.

WheelUp::
Send {WheelDown}
Return

WheelDown::
Send {WheelUp}
Return

LWin::LCtrl
;Optionally you can also map the ctrl to the Win/Command key: LCtrl::LWin

#MaxHotkeysPerInterval 200

^q::Send !{F4}