Skip to content

Instantly share code, notes, and snippets.

@nicoddemus
Created September 11, 2017 03:30
Show Gist options
  • Save nicoddemus/9b33e33abe3477c3c1c053d4197ff312 to your computer and use it in GitHub Desktop.
Save nicoddemus/9b33e33abe3477c3c1c053d4197ff312 to your computer and use it in GitHub Desktop.
Dark Souls 2 KeyBinds for autohotkey
; This script maps mouse buttons to keyboard buttons to allow circumventing DSII's limited
; mouse button mapping and double-click related lag. Unfortunately, AutoHotKey doesn't
; seem to support more than five buttons.
; Installation
; 1) Download AutoHotKey.
; 2) In Dark Souls II, make sure the mouse buttons you're using in this script aren't bound to anything to avoid conflicts.
; This script uses Left and Right Click, Middle click is disabled by default, and buttons 4 and 5 aren't supported by DSII.
; 3) Run Dark Souls II and map the commands to the keyboard letter associated with the mouse button desired.
; Right Click - G
; Left Click - H
; Middle Click - L
; Button 4 - J
; Button 5 - K
; 3) Run the Script
; 4) Play
; Note: You can shut down the script by pressing F12
; Begin region to only apply to Dark Souls II
#IfWinActive DARK SOULS II
~*RButton::y
~*LButton::u
~*MButton::i
~*XButton1::o
~*XButton2::p
#IfWinActive ; End Dark Souls II only region
F12::ExitApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment