QcControlGamepadCommands Class
Control commands for virtual gamepads (decision E-540): connect and disconnect pads and set their buttons and axes, for scenario tests with a controller. More...
| Header: | #include <clientcore/control/QcControlGamepadCommands.h> |
Public Functions
| void | registerCommands(QcControlCommandTable &table) |
| QcVirtualGamepadSource & | source() |
Detailed Description
The pads live in a QcVirtualGamepadSource owned here; the input mapping of the client reads it like the SDL3 backend. The commands do not touch the session.
Member Function Documentation
void QcControlGamepadCommands::registerCommands(QcControlCommandTable &table)
Adds the commands of this group to table.
QcVirtualGamepadSource &QcControlGamepadCommands::source()
Returns the virtual pads.