Heerkog / MicroPythonBLEHID

Human Interface Device (HID) over Bluetooth Low Energy (BLE) GATT library for MicroPython.
GNU General Public License v3.0
204 stars 28 forks source link

Can you do more than one thing #3

Closed Github73840134 closed 2 years ago

Github73840134 commented 2 years ago

IE Mouse+Keyboard?

Heerkog commented 2 years ago

Yes, but this functionality is not offered 'out of the box'. In order to have a mouse + keyboard, you will need to subclass HumanInterfaceDevice to create a device with service and report descriptors that support mouse and keyboard functionalities.

You can follow the same structure as the Keyboard class. The resources section of the readme has a good tutorial on how to create a descriptor for such a multidevice.