how to use QGamepadManager::configureButton
Solved
Game Development
-
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)?
Thanks!
-
@Schuhmann
where are your troubles exactly? Did you check out this example? For C++ it should be analogous. -
@Schuhmann said in how to use QGamepadManager::configureButton:
QGamepadManager::instance()->ButtonY
should actually be used as
QGamepadManager::ButtonY
-
@raven-worx Works! Thanks!