Turns an X-Arcade joystick into 360 Controllers.
Technically, turns any keyboard input into 360 Controllers, but the default is to support X-Arcade joysticks in Mode 1.
- Download the latest release
- Double-click
Install Driver.exe
. - Run
XArcade XInput.exe
- Test in the HTML5 Gamepad Tester
- Download the latest release
- Run
Scp Driver Installer\ScpDriverInstaller.exe
and pressInstall
- Run in Admin Command Prompt:
netsh advfirewall firewall add rule name="XArcade XInput" dir=in action=allow protocol=TCP localport=32123 netsh http add urlacl url=http://+:32123/ user=Everyone
- Run
XArcade XInput.exe
- Test in the HTML5 Gamepad Tester
The default mapping will work with X-Arcade joysticks using recent PCBs in Mode 1.
Open http://localhost:32123/ in a browser to to access the Web UI. From here you can turn it on or off, and change the mappings. The Web UI can also be accessed on any phone, tablet, or other computer.
You can change any keyboard key to output any single 360 Controller Button or Axis:
{
"W": [0, "LeftStickY", 0.5, 0],
"S": [0, "LeftStickY", -1],
"E": [0, "X"]
}
The syntax is JSON, where the key on the left is one of System.Windows.Forms.Keys, and the value is an array of [controllerIndex, controllerButtonOrAxis, ...parameters]
If given an axis, like LeftStickX
or RightTrigger
, you can supply up to two more parameters: The first being the percentage when the key is down, and the second being the percentage when the key is released.
So, in the example above, W
would push the left stick forward to 50%, and S
would pull it all the way back to 100%.
Note that no matter what you have mapped, pressing the equivalent of RB + Start
will press the Guide / Home / Logo
button.
You can pass arguments when running XArcade XInput:
Argument | Purpose |
---|---|
--debug |
Prints some debug information. |
--default |
Force using the default mapping. This can help if you get stuck when writing your own mappings. This takes precedence over other arguments. |
--skip-ui |
Will prevent your browser from opening. |
--start-disabled |
Won't listen for keyboard events when starting. |
--mapping |
X-Arcade used to suggest a number of different methods of getting your joystick to appear as a DirectInput or XInput controller in Windows. What you end up with is:
- Keyboard -> DirectInput (Headsoft VJoy)
- DirectInput -> XInput (XOutput)
Steam's Generic Controller Support should let you skip the second part, but it's not.
Or you can search the internet, and find any combinations like:
- Keyboard -> UCR -> A Different vJoy -> vXboxInterface
- Keyboard -> Headsoft VJoy -> x360ce -> ViGEm
That's a lot of indirection. There's none of that here. Just Keyboard to XInput.