Skip to content

pumphaus/qtgamepadlegacy

 
 

Repository files navigation

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

About

A Qt module that adds support for getting events from gamepad devices on multiple platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.7%
  • Objective-C++ 12.4%
  • CMake 3.3%
  • Java 1.7%
  • C 0.9%