mapping joystick not working

Ask gaming related questions (AHK v1.1 and older)
jibtga
Posts: 1
Joined: 14 Jun 2020, 07:35

mapping joystick not working

14 Jun 2020, 09:09

I downloaded JoystickTest.ahk and I test my controller. it has 10 buttons, but when I try to map a button by example :

Joy1::
run notepad
end

not working, any idea?
Last edited by BoBo on 14 Jun 2020, 09:24, edited 1 time in total.
Reason: Moved to Gaming sction.
ahk1
Posts: 9
Joined: 24 Sep 2020, 07:12

Re: mapping joystick not working

24 Sep 2020, 09:10

try 1joy1. The first 1 in 1joy1 is for the controller nr. 1 - autohotkey detects the controller and gives them an number. You use that number in front of the controller button names(ex: joy1) and get 1joy1.
so 1joy1 is controller nr 1 and button joy1. 1joy2 is controller nr 1 and button joy2
A_AhkUser
Posts: 1147
Joined: 06 Mar 2017, 16:18
Location: France
Contact:

Re: mapping joystick not working

24 Sep 2020, 18:49

Also "end" should be replaced by return.

A_AhkUser
my scripts

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 39 guests