AutoHotKey scripts
This commit is contained in:
parent
9f8080615f
commit
8bb00dedab
93
src/mspeed-layer-ck6x-DE.ahk
Normal file
93
src/mspeed-layer-ck6x-DE.ahk
Normal file
|
@ -0,0 +1,93 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ISO German Layout (QWERTZ)
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & w::Up
|
||||
CapsLock & s::Down
|
||||
CapsLock & a::Left
|
||||
CapsLock & d::Right
|
||||
CapsLock & k::Home
|
||||
CapsLock & l::End
|
||||
CapsLock & m::PgUp
|
||||
CapsLock & n::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send, {^}
|
||||
else
|
||||
Send, º
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & i::F11
|
||||
CapsLock & o::F12
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & h::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & g::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & f::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & p:: Send {PrintScreen}
|
||||
<+CapsLock::CapsLock
|
||||
;
|
||||
; Add extra keys:
|
||||
!y::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!+y::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!+x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!y::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!'::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
;<^>!¡::
|
||||
;Send, ~
|
||||
;return
|
||||
;
|
||||
<^>!-::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
<^>!+::
|
||||
Send, ~
|
||||
return
|
||||
;
|
||||
<^>!*Escape::
|
||||
Send, \
|
||||
return
|
93
src/mspeed-layer-ck6x-ES.ahk
Normal file
93
src/mspeed-layer-ck6x-ES.ahk
Normal file
|
@ -0,0 +1,93 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ISO Spanish Layout (QWERTY)
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & w::Up
|
||||
CapsLock & s::Down
|
||||
CapsLock & a::Left
|
||||
CapsLock & d::Right
|
||||
CapsLock & k::Home
|
||||
CapsLock & l::End
|
||||
CapsLock & m::PgUp
|
||||
CapsLock & n::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send, ª
|
||||
else
|
||||
Send, º
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & i::F11
|
||||
CapsLock & o::F12
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & h::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & g::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & f::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & p:: Send {PrintScreen}
|
||||
<+CapsLock::CapsLock
|
||||
;
|
||||
; Add extra keys:
|
||||
!z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!+z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!+x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!'::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
;<^>!¡::
|
||||
;Send, ~
|
||||
;return
|
||||
;
|
||||
<^>!-::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
<^>!+::
|
||||
Send, ~
|
||||
return
|
||||
;
|
||||
<^>!*Escape::
|
||||
Send, \
|
||||
return
|
93
src/mspeed-layer-ck6x-FR.ahk
Normal file
93
src/mspeed-layer-ck6x-FR.ahk
Normal file
|
@ -0,0 +1,93 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ISO French Layout (AZERTY)
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & z::Up
|
||||
CapsLock & s::Down
|
||||
CapsLock & q::Left
|
||||
CapsLock & d::Right
|
||||
CapsLock & k::Home
|
||||
CapsLock & l::End
|
||||
CapsLock & n::PgUp
|
||||
CapsLock & b::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send {@}
|
||||
else
|
||||
Send {#}
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & i::F11
|
||||
CapsLock & o::F12
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & h::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & g::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & f::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & p:: Send {PrintScreen}
|
||||
<+CapsLock::CapsLock
|
||||
;
|
||||
; Add extra keys:
|
||||
!w::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!+w::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!+x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!w::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!'::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
;<^>!¡::
|
||||
;Send, ~
|
||||
;return
|
||||
;
|
||||
<^>!-::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
<^>!+::
|
||||
Send, ~
|
||||
return
|
||||
;
|
||||
<^>!*Escape::
|
||||
Send, \
|
||||
return
|
93
src/mspeed-layer-ck6x-IT.ahk
Normal file
93
src/mspeed-layer-ck6x-IT.ahk
Normal file
|
@ -0,0 +1,93 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ISO Italian Layout (QWERTY)
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & w::Up
|
||||
CapsLock & s::Down
|
||||
CapsLock & a::Left
|
||||
CapsLock & d::Right
|
||||
CapsLock & k::Home
|
||||
CapsLock & l::End
|
||||
CapsLock & m::PgUp
|
||||
CapsLock & n::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send {\}
|
||||
else
|
||||
Send {|}
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & i::F11
|
||||
CapsLock & o::F12
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & h::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & g::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & f::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & p:: Send {PrintScreen}
|
||||
<+CapsLock::CapsLock
|
||||
;
|
||||
; Add extra keys:
|
||||
!z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!+z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!+x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!z::
|
||||
Send, <
|
||||
return
|
||||
;
|
||||
<^>!x::
|
||||
Send, >
|
||||
return
|
||||
;
|
||||
<^>!'::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
;<^>!¡::
|
||||
;Send, ~
|
||||
;return
|
||||
;
|
||||
<^>!-::
|
||||
Send, \
|
||||
return
|
||||
;
|
||||
<^>!+::
|
||||
Send, ~
|
||||
return
|
||||
;
|
||||
<^>!*Escape::
|
||||
Send, \
|
||||
return
|
48
src/mspeed-layer-ck6x-US-Symbols.ahk
Normal file
48
src/mspeed-layer-ck6x-US-Symbols.ahk
Normal file
|
@ -0,0 +1,48 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ANSI US Layout (with keyboard symbols).
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & /::Up
|
||||
CapsLock & SC15D::Down
|
||||
CapsLock & SC138::Left
|
||||
CapsLock & SC11D::Right
|
||||
CapsLock & l::Home
|
||||
CapsLock & .::End
|
||||
CapsLock & ,::Delete
|
||||
CapsLock & `;::PgUp
|
||||
CapsLock & '::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send {~}
|
||||
else
|
||||
Send {``}
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & c::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & x::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & z::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & [:: Send {PrintScreen}
|
||||
CapsLock & ]::Send {Pause}
|
||||
<+CapsLock::CapsLock
|
48
src/mspeed-layer-ck6x-US.ahk
Normal file
48
src/mspeed-layer-ck6x-US.ahk
Normal file
|
@ -0,0 +1,48 @@
|
|||
;
|
||||
; ########################################################
|
||||
; # mspeed-layer-ck6x - MotoSpeed Layer for CK61 & CK62 #
|
||||
; # #
|
||||
; # Author: q3aql #
|
||||
; # Contact: q3aql@protonmail.ch #
|
||||
; # License: GPL v2.0 #
|
||||
; ########################################################
|
||||
; Version v1.0
|
||||
;
|
||||
; Mapper to use arrows, F1-F12 and other keys using CapsLock
|
||||
; as FN function.
|
||||
;
|
||||
; Configuration to use ANSI US Layout (Alternative)
|
||||
;
|
||||
SetCapsLockState, AlwaysOff
|
||||
CapsLock & w::Up
|
||||
CapsLock & s::Down
|
||||
CapsLock & a::Left
|
||||
CapsLock & d::Right
|
||||
CapsLock & k::Home
|
||||
CapsLock & l::End
|
||||
CapsLock & m::PgUp
|
||||
CapsLock & n::PgDn
|
||||
CapsLock & Esc::
|
||||
if GetKeyState("Shift")
|
||||
Send {~}
|
||||
else
|
||||
Send {``}
|
||||
return
|
||||
CapsLock & 1::F1
|
||||
CapsLock & 2::F2
|
||||
CapsLock & 3::F3
|
||||
CapsLock & 4::F4
|
||||
CapsLock & 5::F5
|
||||
CapsLock & 6::F6
|
||||
CapsLock & 7::F7
|
||||
CapsLock & 8::F8
|
||||
CapsLock & 9::F9
|
||||
CapsLock & 0::F10
|
||||
CapsLock & i::F11
|
||||
CapsLock & o::F12
|
||||
CapsLock & Backspace::Delete
|
||||
CapsLock & h::Send {vkAFsc130} ;Volume up
|
||||
CapsLock & g::Send {vkAEsc12e} ;Volume down
|
||||
CapsLock & f::Send {vkADsc120} ;Volume mute
|
||||
CapsLock & p:: Send {PrintScreen}
|
||||
<+CapsLock::CapsLock
|
Loading…
Reference in New Issue
Block a user