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.
Cargo-culted from somewhere but not used here. This just made the code bigger for no reason. Task-number: QTBUG-97950 Pick-to: 6.2 Change-Id: Ice04365c72984d07a64dfffd16b48632888ed664 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> |
||
|---|---|---|
| config.tests/sdl | ||
| dist | ||
| examples | ||
| src | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .qmake.conf | ||
| .tag | ||
| LICENSE.GPL | ||
| LICENSE.LGPLv3 | ||
| README.md | ||
| configure.json | ||
| dependencies.yaml | ||
| 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
- OS X/iOS/tvOS
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