This is an XInput wrapper for Game Maker. Now you can use the full functionality of those xBox 360 controllers and other XInput devices. (except for headset and jewel support... I'll get to that.)
What's it got?
At the moment, it supports xBox 360 game pads and other XInput standard controllers.
*Triggers are mapped to separate axes!
*Up to the XInput standard of 4 controllers supported.
*Sample .gmk included for your learning enjoyment.
*DInput support added (wrapping GM's joystick functions to work within the same XInput API.) This will NOT magically make your DInput controllers rumble.
*Face button constants have changed to xFaceX, xFaceY, xFaceA, and xFaceB.
*Also, DInput only constants have been added. They were coordinated to the xBox360's button layout via the DInput joystick status thinger in Windows control panel. That shouldn't make a difference - button 1 should always end up button 1, etc.
*Added xPOV() which returns similar to joystick_pov() only reoriented to GM's screen angles.
*MORE IMPORTANT STUFF! If you want a stable production ready XInput library wrapper, use v1.0 below. Beta v1.1 is not meant for use with released software yet!
PS: Using the sample .gmk
Push buttons... der
The analog sticks show pressed and release events.
The triggers control the rumble motors.
The shoulder buttons lock/unlock rumble motors at their current value.
The 'start' and 'back' buttons switch between active controllers.
IF you get confused, the ring of lights will remind you which controller is currently active.