Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to use QGamepadManager::configureButton
I have a joystick connected and I need to reconfigure some buttons.
I read the documentation and checked all Qt examples but still don't know how to start nor can I find any 3rd party example code in the internet.
Does anyone have an example on how to usse this SLOT in C++ (without QML)?
Ok. There is an instance method which can be used. Here is the c++ syntax that works (e.g. button Y):
int deviceID; QGamepadManager::instance()->configureButton(deviceID, QGamepadManager::instance()->ButtonY);
should actually be used as
@raven-worx Works! Thanks!