mirror of
https://github.com/amnezia-vpn/qtgamepad.git
synced 2026-07-21 18:48:08 +03:00
A Qt module that adds support for getting events from gamepad devices on multiple platforms.
- C++ 81.7%
- Objective-C++ 12.4%
- CMake 3.3%
- Java 1.7%
- C 0.9%
|
|
||
|---|---|---|
| config.tests/sdl | ||
| dist | ||
| examples | ||
| src | ||
| .cmake.conf | ||
| .gitattributes | ||
| .gitignore | ||
| .tag | ||
| CMakeLists.txt | ||
| configure.json | ||
| dependencies.yaml | ||
| LICENSE.GPL | ||
| LICENSE.LGPLv3 | ||
| README.md | ||
| sync.profile | ||
Qt Gamepad Legacy
A Qt 6 module that adds support for getting events from gamepad devices on multiple platforms.
This is Qt5's QtGamepad module ported to Qt6. I don't intend to develop it further; I'll just try to keep compatibility with upcoming Qt releases.
I've only tested the evdev plugin which works fine.
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