Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwaschkau/xboxgamepad
Marmalade gamepad extension for xinput based devices for windows
https://github.com/jwaschkau/xboxgamepad
Last synced: 6 days ago
JSON representation
Marmalade gamepad extension for xinput based devices for windows
- Host: GitHub
- URL: https://github.com/jwaschkau/xboxgamepad
- Owner: jwaschkau
- License: other
- Created: 2012-09-10T16:46:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-10T17:11:32.000Z (over 12 years ago)
- Last Synced: 2024-11-17T09:51:53.027Z (about 2 months ago)
- Language: C++
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
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.