So I downloaded a steam game as a standalone, Blades of Gory. The game recommends using a xbox controller. I want to be able to use with my arcade sticks using my ipac4 controller. I'm not sure which route to take. I see XArcade-Xinput, Joy2key, vjoy ( I think that's what its called). I also know I can switch my ipac to xinput mode by holding player 1 start and the third button for 10 seconds. But is there a way to do that in some type of script and put it back to keyboard mode when I exit the game?
I have tried Xarcade-Xinput. I am getting a strange error upon launching it. I have the folder in the utilities folder of my Launchbox folder of my C drive. But the error is saying D:\a\xarcade-xinput\Xarcade XInput\xarcade-xinput\KeyboardMapper.cs.
Here's the script:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance Force
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;CUSTOM CONFIG
Run, C:\Launchbox\Utilities\xarcade-xinput\Xarcade Xinput.exe --skip-ui
Run, L:\LaunchBox\Games\Windows\Blades of Gory\nw.exe
$Esc::
Process,Close,Xarcade Xinput.exe
Run,taskkill /im "Xarcade Xinput.exe" /F
Process,Close,nw.exe
Run,taskkill /im "nw.exe" /F
ExitApp
return
Here is the json file:
"D1": [
0,
"Start"
],
"C": [
0,
"LeftBumper"
],
"Space": [
0,
"X"
],
"Up": [
0,
"LeftStickY"
],
"Down": [
0,
"LeftStickYI",
-1
],
"Left": [
0,
"LeftStickXI",
-1
],
"Right": [
0,
"LeftStickX"
],
"X": [
0,
"RightTrigger"
],
"Enter": [
0,
"Logo"
],
"D5": [
0,
"Back"
],
"D3": [
0,
"LeftTrigger"
],
"LControlKey": [
0,
"A"
],
"LMenu": [
0,
"B"
],
"LShiftKey": [
0,
"Y"
],
"E": [
1,
"B"
],
"A": [
1,
"X"
],
"S": [
1,
"Y"
],
"D2": [
1,
"Start"
],
"D4": [
1,
"Back"
],
"OemCloseBrackets": [
1,
"LeftBumper"
],
"Q": [
1,
"RightBumper"
],
"R": [
1,
"LeftStickY"
],
"F": [
1,
"LeftStickYI",
-1
],
"D": [
1,
"LeftStickXI",
-1
],
"G": [
1,
"LeftStickX"
],
"D6": [
1,
"LeftTrigger"
],
"OemOpenBrackets": [
1,
"RightTrigger"
],
"W": [
1,
"A"
]
}
Any help or suggestions for which program to use is appreciated.