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%
Find a file
Arno Rehn 434fe59d70 QGamepadBackendFactory: Adjust plugin search path
Forgot that when renaming the library
2023-11-02 22:07:58 +01:00
config.tests/sdl Remove remnants of qmake 2023-10-31 22:07:38 +01:00
dist Add changes file for Qt 5.15.1 2020-08-25 06:07:00 +00:00
examples Remove remnants of qmake 2023-10-31 22:07:38 +01:00
src QGamepadBackendFactory: Adjust plugin search path 2023-11-02 22:07:58 +01:00
.cmake.conf Bump .cmake.conf for dev 2023-10-31 21:57:49 +01:00
.gitattributes import missing .gitattributes 2016-05-10 17:30:12 +00:00
.gitignore Cleanup Examples 2017-02-03 13:46:51 +00:00
.tag import missing .gitattributes 2016-05-10 17:30:12 +00:00
CMakeLists.txt Rename to QtGamepadLegacy 2023-10-31 21:46:25 +01:00
configure.json Convert the module to the new configuration system 2016-10-31 10:54:34 +00:00
dependencies.yaml Update dependencies 2020-11-18 14:57:49 +01:00
LICENSE.GPL Initial public release of Qt Gamepad module 2015-05-11 16:48:38 +02:00
LICENSE.LGPLv3 Initial public release of Qt Gamepad module 2015-05-11 16:48:38 +02:00
README.md Update README.md 2023-10-31 21:54:13 +01:00
sync.profile fix repo dependencies 2016-02-01 15:06:33 +00:00

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