Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    How Do I Add Bluetooth Controller Support for my Game?

    Game Development
    game bluetooth controller remote support input button moga android
    2
    2
    1189
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JayGarxP
      JayGarxP last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • A
        alearner last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post