Gainput
v1.0.0
|
Platform \ Device | Built-In | Keyboard | Mouse | Pad | Touch |
---|---|---|---|---|---|
Android NDK | YES | YES | YES | ||
iOS | YES | YES | YES | ||
Linux | STD RAW | STD RAW | YES | ||
Mac OS X | YES | YES | YES | ||
Windows | STD RAW | STD RAW | YES |
What the entries mean:
The keyboard support is limited to hardware keyboards, including, for example, hardware home buttons.
Evdev is used for the raw input variants. Evdev has permission issues on some Linux distributions where the devices (/dev/input/event*
) are only readable by root or a specific group. If a raw device's state is gainput::InputDevice::DS_UNAVAILABLE this may very well be the cause.
These gamepads have been tested and are explicitly supported:
These gamepads have been tested and are explicitly supported:
The gamepad support is implemented using XINPUT which is Microsoft's most current API for such devices. However, that means that only Xbox 360 pads and compatible devices are supported.