Created
June 4, 2017 05:24
-
-
Save pawin/272524f1b9ff36996402e79695262598 to your computer and use it in GitHub Desktop.
Mapping keyboards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
;For natural scrolling | |
WheelUp:: | |
Send {WheelDown} | |
Return | |
WheelDown:: | |
Send {WheelUp} | |
Return | |
;Map Windows and Alt key | |
;Special remap for LWin & Tab to AltTab | |
;LWin & Tab::AltTab | |
;All other LWin presses will be LAlt | |
LWin::LAlt | |
; Makes the Alt key send a Windows key | |
LAlt::LWin | |
;Use capslock to switch between language | |
Capslock::Send {BLIND}{LShift Down}{LAlt Down}{LShift Up}{LAlt Up} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment