How Do I Add Bluetooth Controller Support for my Game?



  • I want people to be able to use their MOGA device or other bluetooth controllers to move a sprite around, how do I do this?
    I've looked at some bluetooth examples and can't seem to find anything related. My Android phone already works with MOGA, but I have no idea how to connect it to my device, or how to tell when the 'A' button is pressed. Is there any way to do this? I tried the scanner examples and they can't find my BT controller, is this because it is already paired with my phone or something?



  • i think the only things you need to do is open or shutdown bluetooth, find bluetooth devices and connect if needed. all the other things must have been done by the hardware vendor



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.