Skip to content

Marmalade gamepad extension for xinput based devices for windows

License

Notifications You must be signed in to change notification settings

Stals/XBoxGamePad

 
 

Repository files navigation

1. Build the extension
2. Use it like this:
    - Call Update() when you want to poll for new data from the gamepad. For example once every frame.
    - To get the button states just call the appropiate function with the desired gamepad (0-3) as the parameter. Example: XBoxPadAButton(0)
    - Use isConnected(int controller) to see if the gamepad is still connected.
    - The thumb sticks and d-pad return values between -1.0 and 1.0.
    - Vibrating does not seem to work.

About

Marmalade gamepad extension for xinput based devices for windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 98.8%
  • C 1.2%