mirror of https://github.com/qt/qtgamepad.git
A Qt 5 module that adds support for getting events from gamepad devices on multiple platforms. Currently supports Linux (evdev), Windows (xinput) and OS X (via SDL2). This module provides classes that can: - Read input events from game controllers (Button and Axis events), both from C++ and Qt Quick (QML) - Provide a queryable input state (by processing events) - Provide key bindings.
Task-number: QTBUG-51659 Change-Id: I185b83e50ffcae65495a55051ce95f698e62268d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
|---|---|---|
| config.tests/sdl | ||
| examples | ||
| src | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .qmake.conf | ||
| .tag | ||
| LICENSE.GPL | ||
| LICENSE.LGPLv3 | ||
| README.md | ||
| qtgamepad.pro | ||
| sync.profile | ||
README.md
Qt Gamepad
A Qt 5 module that adds support for getting events from gamepad devices on multiple platforms.
Supported Platforms: Native Backends
- Linux (evdev)
- Window (xinput)
- Android
- iOS
For other platforms there is a backend that uses SDL2 for gamepad support.
This module provides classes that can:
- Read input events from game controllers (Button and Axis events), both from C++ and Qt Quick (QML)
- Provide a queryable input state (by processing events)
- Provide key bindings