VX Edition - 1.0a
by Lone Wolf
A port of my previous Gamepad Extender script, now for VX. This script provides an alternate gamepad interface, giving scripters access to all 16 buttons on a modern gamepad, as well as dual-analog sticks, analog triggers, and force-feedback controls. Also enables multiplayer for up to four players with compatible gamepads.
- Doubles the number of available buttons.
- Easy access to analog sticks and triggers.
- Basic force-feedback control.
- Support for up to four controllers simultaneously.
See other thread.
How to Use:
- Paste in Materials (or Modules) section.
- Configure to your liking.
None. It's a scripting tool only.
Q: "Not plug-and-play"? What does that mean?
A: Rather than risk the core instability caused by overwriting the default input module, I wrote a new module for handling gamepad-specific functions, so your scripts (and the defaults) will need to point to the new module for those features (like the extra buttons) to work. A couple minutes and CTRL+SHIFT+F are all you need.
Q: What controllers will work?
A: Any PC-specific USB controller made in the last five years should work without issue. Older controllers, console controller adapters, etc. will need XInput drivers or an XInput emulator. Google is your friend.
Q: No Guide button?
A: No Guide button. It uses a separate interface from XInput and is generally reserved by the system.
Q: Can you make this work in...?
A: This is the VX version. The VXAce version can be found here. I am not planning any further (back)ports at this time.
Credit and Tanks:
-An old forum post on Win32API I clearly should have bookmarked.
-This script is an advanced scripting tool, meant to enable functionality not possible in the standard libraries. It will do only as much as your own RGSS knowledge allows.
-Although all core functionality remains the same, some features and calls function differently in this version due to language differences between RGSS2 and RGSS3. See the comments for details.
-This script is still a work-in-progress. Feel free to suggest features and fixes.
(2/15/13) - Fixed a syntax error caused by IP.Board's auto-formatting of code blocks.
(7/25/12) - Fixed an issue with incorrect packet handling on certain drivers.
(6/13/12) - First VX version.
Edited by Lone Wolf, 15 February 2013 - 01:12 PM.