-
-
Save hujy23/8e812ceba6a9ba8ded43373cf268811e to your computer and use it in GitHub Desktop.
Dvorak Autohotkey
This file contains 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
; Use Scroll Lock to swap keyboard layouts | |
; and do not let Control, Alt, or Win modifiers act on Dvorak | |
Loop { | |
If GetKeyState("ScrollLock", "T") | |
and !GetKeyState("Control") | |
and !GetKeyState("Alt") | |
and !GetKeyState("LWin") | |
and !GetKeyState("RWin") { | |
Suspend, Off | |
} else { | |
Suspend, On | |
} | |
Sleep, 50 | |
} | |
; QWERTY to Dvorak mapping | |
-::[ | |
=::] | |
q::' | |
w::, | |
e::. | |
r::p | |
t::y | |
y::f | |
u::g | |
i::c | |
o::r | |
p::l | |
[::/ | |
]::= | |
;a::a | |
s::o | |
d::e | |
f::u | |
g::i | |
h::d | |
j::h | |
k::t | |
l::n | |
`;::s | |
'::- | |
z::`; | |
x::q | |
c::j | |
v::k | |
b::x | |
n::b | |
;m::m | |
,::w | |
.::v | |
/::z |
This file contains 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
; =Dvorak Hot Key Fixes ( Autohotkey ) | |
;-------------------------------------- | |
;----------------- CTRL KEY | |
*^[::Send ^- | |
*^]::Send ^= | |
*^'::Send ^q | |
*^,::Send ^w | |
*^.::Send ^e | |
*^p::Send ^r | |
*^y::Send ^t | |
*^f::Send ^y | |
*^g::Send ^u | |
*^c::Send ^i | |
*^r::Send ^o | |
*^l::Send ^p | |
*^/::Send ^[ | |
*^=::Send ^] | |
*^o::Send ^s | |
*^e::Send ^d | |
*^u::Send ^f | |
*^i::Send ^g | |
*^d::Send ^h | |
*^h::Send ^j | |
*^t::Send ^k | |
*^n::Send ^l | |
*^s::Send ^`; | |
*^-::Send ^' | |
*^`;::Send ^z | |
*^q::Send ^x | |
*^j::Send ^c | |
*^k::Send ^v | |
*^x::Send ^b | |
*^b::Send ^n | |
*^m::Send ^m | |
*^w::Send ^, | |
*^v::Send ^. | |
*^z::Send ^/ | |
;----------------- ALT KEY | |
*![::Send !- | |
*!]::Send != | |
*!'::Send !q | |
*!,::Send !w | |
*!.::Send !e | |
*!p::Send !r | |
*!y::Send !t | |
*!f::Send !y | |
*!g::Send !u | |
*!c::Send !i | |
*!r::Send !o | |
*!l::Send !p | |
*!/::Send ![ | |
*!=::Send !] | |
*!o::Send !s | |
*!e::Send !d | |
*!u::Send !f | |
*!i::Send !g | |
*!d::Send !h | |
*!h::Send !j | |
*!t::Send !k | |
*!n::Send !l | |
*!s::Send !`; | |
*!-::Send !' | |
*!`;::Send !z | |
*!q::Send !x | |
*!j::Send !c | |
*!k::Send !v | |
*!x::Send !b | |
*!b::Send !n | |
*!m::Send !m | |
*!w::Send !, | |
*!v::Send !. | |
*!z::Send !/ | |
;----------------- WINDOWS KEY | |
*#[::Send #- | |
*#]::Send #= | |
*#'::Send #q | |
*#,::Send #w | |
*#.::Send #e | |
*#p::Send #r | |
*#y::Send #t | |
*#f::Send #y | |
*#g::Send #u | |
*#c::Send #i | |
*#r::Send #o | |
*#l::Send #p | |
*#/::Send #[ | |
*#=::Send #] | |
*#o::Send #s | |
*#e::Send #d | |
*#u::Send #f | |
*#i::Send #g | |
*#d::Send #h | |
*#h::Send #j | |
*#t::Send #k | |
*#n::Send #l | |
*#s::Send #`; | |
*#-::Send #' | |
*#`;::Send #z | |
*#q::Send #x | |
*#j::Send #c | |
*#k::Send #v | |
*#x::Send #b | |
*#b::Send #n | |
*#m::Send #m | |
*#w::Send #, | |
*#v::Send #. | |
*#z::Send #/ | |
;END Dvorak Hot Key Fixes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment