Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QBluetooth connect mouse, keyboard or speaker
Mihan last edited by Mihan
I want to use QtBluetooth to connect some bluetooth devices like mouse or keyboard.
But After using
QBluetoothDeviceDiscoveryAgentto scan the device, I have no idea what should I do next:
QBluetoothSocketto connect the device with the information I got by the scanner.
- or use
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.