Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QBluetooth connect mouse, keyboard or speaker
Forum Updated to NodeBB v4.3 + New Features

QBluetooth connect mouse, keyboard or speaker

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 174 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.
  • MihanM Offline
    MihanM Offline
    Mihan
    wrote on last edited by Mihan
    #1

    Hi
    I want to use QtBluetooth to connect some bluetooth devices like mouse or keyboard.
    But After using QBluetoothDeviceDiscoveryAgent to scan the device, I have no idea what should I do next:

    1. use QBluetoothSocket to connect the device with the information I got by the scanner.
    2. or use QBluetoothServer to listen.

    which one is right? Or are both wrong?

    Also after connecting the device, how can I use the data from the devices, e.g. when the mouse move, how can I know the distance and direction it moved and how to control the cursor.

    Regards
    Mihan

    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