;; General keyboard mappings -------------------------------------------------- >!-::SendInput, {U+2013} ; – <^>!-::SendInput, {U+2013} >!s::SendInput, {U+DF} ; ß <^>!s::SendInput, {U+DF} ;; ANSI keyboard mappings ----------------------------------------------------- #If Layout() = layouts.us ; see tt.layout.ahk /* §::< ½::> <^>§::| *<^>1::SendInput, § *<^>!::SendInput, ½ ¨::' ^::* '::¨ <^>*::~ */ SC01A::å SC01B::ä SC02B::ö +SC01A::Å +SC01B::Ä +SC02B::Ö >!SC01A::SendInput, [ >!SC01B::SendInput, ] >!SC02B::SendInput, \ >!+SC01A::SendInput, {{} >!+SC01B::SendInput, {}} >!+SC02B::SendInput, | /* SC033::å SC034::ä SC035::ö +SC033::Å +SC034::Ä +SC035::Ö SC01A::, SC01B::. SC02B::/ +SC01A::< +SC01B::> +SC02B::? >!SC01A::SendInput, [ >!SC01B::SendInput, ] >!SC02B::SendInput, \ >!+SC01A::SendInput, {{} >!+SC01B::SendInput, {}} >!+SC02B::SendInput, | */ #If ;; Fujitsu FKB8530 mappings --------------------------------------------------- ;; -> library Modifiers() { s := "" if (GetKeyState("Shift")) s .= "{Shift down}" if (GetKeyState("Ctrl")) s .= "{Ctrl down}" if (GetKeyState("Alt")) s .= "{Alt down}" return s } ;; -> body ^<::^y *#BackSpace::Delete #F9::PrintScreen #F12::Insert <^>!<::| *#h::SendInput, % Modifiers() "{Left down}" #h Up::SendInput, {Left up} *#j::SendInput, % Modifiers() "{Down down}" #j Up::SendInput, {Down up} *#k::SendInput, % Modifiers() "{Up down}" #k Up::SendInput, {Up up} *#l::SendInput, % Modifiers() "{Right down}" #l Up::SendInput, {Right up} *#y::SendInput, % Modifiers() "{Home down}" #y Up::SendInput, {Home up} *#u::SendInput, % Modifiers() "{PgDn down}" #u Up::SendInput, {PgDn up} *#i::SendInput, % Modifiers() "{PgUp down}" #i Up::SendInput, {PgUp up} *#o::SendInput, % Modifiers() "{End down}" #o Up::SendInput, {End up}