Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. How Do I Add Bluetooth Controller Support for my Game?
Forum Updated to NodeBB v4.3 + New Features

How Do I Add Bluetooth Controller Support for my Game?

Scheduled Pinned Locked Moved Game Development
gamebluetoothcontrollerremotesupportinputbuttonmogaandroid
2 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • JayGarxPJ Offline
    JayGarxPJ Offline
    JayGarxP
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      alearner
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved