VR-Engage  2.2
Loading...
Searching...
No Matches
qmlGamepadInputDevice.h File Reference
Include dependency graph for qmlGamepadInputDevice.h:

Go to the source code of this file.

Classes

class  DtQmlGamepadInputDevice
 

Detailed Description

DtQmlGamepadInputDevice demonstrates the complete pattern for integrating a non-standard input device (not using HID protocols) with VR-Engage's input mapping system. This example uses a QML-based virtual gamepad as the device, but the pattern applies to any custom input source: serial devices, network protocols, motion capture systems, or proprietary hardware.

Key Patterns Demonstrated:

  • Deriving from DtInputDevice for custom input sources
  • Event collection and queuing between device and framework
  • Transformation of device-specific data into DtInputData structures
  • Integration with VR-Engage's input mapping configuration system
  • Device lifecycle management (init, tick, shutdown)