Forums » Android
Binding commands to a gamepad
Hello, I was just wondering if there was a way to bind commands to a gamepad, like from a pluggin. For example bind honk to a button. Any help would be appreciated.
you'll have to first bind it to >anything< in the normal keyboard controls menu; take a note of the name of the button. it should look like JOY#BUTTON##, where ## are numbers denoting the joystick ID and button ID. With that info, use this in the chat window:
/bind <your joystick button here> <command>
for instance, /bind JOY0BUTTON04 honk would bind the honk plugin to whatever button 4 on my first joystick is. do note, if numbers are printed on your joystick's buttons, they might not be accurate to what the game sees - give it a whirl.
/bind <your joystick button here> <command>
for instance, /bind JOY0BUTTON04 honk would bind the honk plugin to whatever button 4 on my first joystick is. do note, if numbers are printed on your joystick's buttons, they might not be accurate to what the game sees - give it a whirl.