Skip to content

Instantly share code, notes, and snippets.

@gahabeen
Last active January 7, 2023 18:58
Show Gist options
  • Save gahabeen/3658c3d8689f972a3fe730516434f726 to your computer and use it in GitHub Desktop.
Save gahabeen/3658c3d8689f972a3fe730516434f726 to your computer and use it in GitHub Desktop.
AutoHotKeys Remapping Arrows for Ducky One 2 Mini (DKON2061ST)

AutoHotKeys Remapping Arrows for Ducky One 2 Mini (DKON2061ST)

  • Press Fn + Alt + k for 5 seconds.
  • Set up the keys on the right of your space bar as: AltGr > Windows > Ctrl > Fn
  • Press Escape to quit
*~RAlt::
if (GetKeyState("LControl", "P") & GetKeyState("LAlt", "P")) {
Send ^{Left} ; Left Control + Left Alt + Right Alt = Previous Word
}
if (GetKeyState("LAlt", "P")) {
Send {Left} ; Left Alt + Right AltGr = Left
}
Return
*~RControl::
if (GetKeyState("LShift", "P") & GetKeyState("LAlt", "P")) {
Send ^{Right} ; Left Control + Left Alt + Right Control = Next Word
}
if (GetKeyState("LAlt", "P")) {
Send {Right} ; Left Alt + Right Control = Right
}
Return
LAlt & SC035::Send {Up} ; Left Alt + (left of Right Shift button) = Up
LAlt & RWin::Send {Down} ; Left Alt + Right Windows = Down
;LAlt & RAlt::Send {Left} ; Left Alt + Right AltGr = Left
;LAlt & RControl::Send {Right} ; Left Alt + Right Control = Right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment