-
Notifications
You must be signed in to change notification settings - Fork 1
DirectInput & XInput
Ralph Niemitz edited this page Mar 30, 2018
·
2 revisions
The library will do its best at offering a unified interface for both DirectInput and XInput gamepads. Since JInput is currently only able to use WinTab and DirectInput under Windows, offering full support for XInput devices is not possible (yet).
These are the limitations for XInput gamepads:
- The left and right trigger buttons will act as a single button, not independently
- The vibration effects will not be available
In order to get the current trigger value you have to cast the gamepad to an XInputGamepad
and call the getTriggerValue
.