XBox 360 Controller Mapper [AHK 1.1]
XBox 360 Controller Mapper [AHK 1.1]
Changing options:
-Double Click on an item.
Features:
-Multiple profiles
-Alternate key bindings depending on a pressed button/axis
-Mouse movement with optional keypress
-Export/Import
-Drag/drop import
AHK Code
Last edited by maestrith on 26 Jul 2015, 20:51, edited 9 times in total.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Reserved.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Completely re-wrote the code. It is a lot easier to use and you can update the profile without having to stop it and then re-start it.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Ahh you must have seen that conversation about xInput
Nice tool there!
Nice tool there!
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: XBox 360 Controller Mapper [AHK 1.1]
Conversation? Nope, I missed it.joedf wrote:Ahh you must have seen that conversation about xInput
Nice tool there!
Thanks btw
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Added:
-Import, Export, Drag/Drop Import, and Collapse/Expand All
-Import, Export, Drag/Drop Import, and Collapse/Expand All
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Hi,
When I run this file I have an error :
Error at line 4.
Line Text: global settings
Error: This line does not contain a recognized action.
The program will exit
When I run this file I have an error :
Error at line 4.
Line Text: global settings
Error: This line does not contain a recognized action.
The program will exit
Re: XBox 360 Controller Mapper [AHK 1.1]
This script requires a recent version of AHK 1.1 which can be downloaded Here. If you still have an issue after installing this please let me know.Jx7 wrote:Hi,
When I run this file I have an error :
Error at line 4.
Line Text: global settings
Error: This line does not contain a recognized action.
The program will exit
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
It works, thank you.maestrith wrote:This script requires a recent version of AHK 1.1 which can be downloaded Here. If you still have an issue after installing this please let me know.Jx7 wrote:Hi,
When I run this file I have an error :
Error at line 4.
Line Text: global settings
Error: This line does not contain a recognized action.
The program will exit
Re: XBox 360 Controller Mapper [AHK 1.1]
No problem. I am going to have an update soon.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
I spoke to quickly. The script can be launched but when I have to press a button of the pad, it doesn't detect anything.maestrith wrote:No problem. I am going to have an update soon.
Is this because I use a wireless Xbox 360 pad? Yet Windows recognize it like a Miscrosoft joystick.
Re: XBox 360 Controller Mapper [AHK 1.1]
Wireless pads should work just the same as wired ones. Let me see if I can upload my new version sometime in the next day or so. Try to make sure that the controller is on before you start the program
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
0.000.2
Added:
-Alternate Assignments
-Direct input support - Some games require this option.
-About/Available Assignments to show what button presses are available
-Held key for adding multiple key presses to an assignment
Added:
-Alternate Assignments
-Direct input support - Some games require this option.
-About/Available Assignments to show what button presses are available
-Held key for adding multiple key presses to an assignment
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
I created 3 basic profiles. They are not complete, but they are a pretty good start.
Guild Wars 2
Factorio
and Rimworld
Download them and then File/Import them into your script.
Guild Wars 2
Factorio
and Rimworld
Download them and then File/Import them into your script.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Thanks for sharing the script!
I'm trying to get this to work with an Xbox One Controller, with not much success so far.
Can you give some hints at how it is supposed to work? Especially with regards to controller detection.
I'm familiar with the basic principles of programming. Haven't looked at much AHK Scripts yet, but I think I just need a good starting point and will find my way from there.
I'm trying to get this to work with an Xbox One Controller, with not much success so far.
Can you give some hints at how it is supposed to work? Especially with regards to controller detection.
I'm familiar with the basic principles of programming. Haven't looked at much AHK Scripts yet, but I think I just need a good starting point and will find my way from there.
Re: XBox 360 Controller Mapper [AHK 1.1]
I have no idea as to how the new controllers interface with the PC. To be honest I didn't know that they had made it so that you could. If I had to guess they are still using a version of xinput which you can get the information from the class that is in this script to see if you can get information from it. Sorry I am not more help but I do not have one that I can test with. Hopefully you can get some use out of this script.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
Sorry, I should have been more clear when asking my question.
I wanted to know how your script interacts with the Xbox 360 controller. (Then I can try to figure out how to interact with the Xbox One controller.)
From what I saw it should be related to the loading of the xinput*.dll and then calling some functions there. Theoretically, this API should be no different for the Xbox One controller.
Like I said, don't worry about the Xbox One controller thing, I was just trying to understand your script.
I wanted to know how your script interacts with the Xbox 360 controller. (Then I can try to figure out how to interact with the Xbox One controller.)
From what I saw it should be related to the loading of the xinput*.dll and then calling some functions there. Theoretically, this API should be no different for the Xbox One controller.
Like I said, don't worry about the Xbox One controller thing, I was just trying to understand your script.
Re: XBox 360 Controller Mapper [AHK 1.1]
ah, ok. let me know if there is anything specific you would like to know.Taimon wrote:Sorry, I should have been more clear when asking my question.
I wanted to know how your script interacts with the Xbox 360 controller. (Then I can try to figure out how to interact with the Xbox One controller.)
From what I saw it should be related to the loading of the xinput*.dll and then calling some functions there. Theoretically, this API should be no different for the Xbox One controller.
Like I said, don't worry about the Xbox One controller thing, I was just trying to understand your script.
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Re: XBox 360 Controller Mapper [AHK 1.1]
0.001.1
Fixed: Reported by Masonjar13
-Cancelling a rename of a game was causing an issue
Changed:
-Collapse/Expand All to Collapse/Expand All Assignments: This only effected the key press assignments not all of the items in the treeview
Added:
-Pressing Delete when the games are focused will delete the currently selected game
John H Wilson III 05/29/51 - 03/01/2020. You will be missed.AHK Studio OSDGUI Creator
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Donations
Discord
All code is done on a 64 bit Windows 10 PC Running AutoHotkey x32
Return to “Gaming Scripts (v1)”
Who is online
Users browsing this forum: No registered users and 13 guests