AHK binding left joy AND dpad to wasd (and buttons to keys)

Post gaming related scripts
mshafer1
Posts: 54
Joined: 16 Jul 2017, 14:49
Contact:

AHK binding left joy AND dpad to wasd (and buttons to keys)

Post by mshafer1 » 04 Jan 2021, 18:55

My friend asked me about using controllers with Among Us. I was surprised to not be able to find an existing mapping script, so I wound up writing one.

Maps left joy and dpad to wasd - also added some button to key binding for the keyboard shortcuts in Among Us. (two versions as she uses xbox controller and I use ps3, and the button numbering was different, but joy code is the same).

(mostly based on combining the examples for reading the joystick and the dpad, but using arrays to handle diagonals better)
among_us_joy_to_keys.ahk
(3.26 KiB) Downloaded 547 times
among_us_joy_to_keys__ps3.ahk
(3.26 KiB) Downloaded 155 times

Return to “Gaming Scripts (v1)”