Releases: meyertime/JsPie
v0.1.0-alpha
Added support for XInput. Tested with a mini XBOX One controller.
Why would you want this when Windows supports these controllers natively? Well, gamepads have a limited number of controls, so it's useful to implement certain complicated mappings like button combos. Also, in some old games, you cannot navigate game menus and such with a gamepad. JsPie, like other "PIE" programs, can be used to do these kinds of non-standard mappings. Now with XInput controllers.
Also attached are the scripts I use for Descent for both XBOX and PS3, now with extra features like auto-calibration (PS+Start+Select or Back+Up) and integrated mapping helper (Ctrl+ and Alt+ digit keys).
See v0.0.0-alpha below, as all the same release notes still apply, except that FireShock is not required for XInput to work, only for PS3.
v0.0.0-alpha
Minimum viable working implementation for PS3 controller and vJoy virtual joystick using the V8 JavaScript engine.
Prerequisites
- FireShock driver
- vJoy
- Microsoft .NET Framework 4.6.1
- Visual C++ Redistributable for Visual Studio 2015 (x64)
Usage
- Unzip JsPie-0.0.0-v64.zip to a directory of your choice.
- Open Command Prompt and change to that directory.
- JsPie.exe is a command line application. You can run it without parameters for a detailed explanation of how to use it.
- Basically
jspie [path_to_script]
will run the given script.
Known Issues
- Very little error handling for PS3 communication. Unplugging the PS3 controller while running will cause it to crash. If there is no PS3 controller connected when you start JsPie, it will not detect one that is connected later.
- Only one PS3 controller and one vJoy joystick are currently supported.
- Only x64 is currently supported.
- Early early alpha!
Notes
- Two useful JsPie scripts are included in the release downloads:
- ps3.js is the script that I use for playing Descent and Overload.
- helper.js is the script that I use for mapping the various game functions within the game. This is because the game will receive input from both the FireShock driver and vJoy when using the ps3.js, and there's currently no way to make it choose the correct one (vJoy). Using this script, you can trigger the vJoy inputs using the keyboard for mapping purposes.