Skip to content

Conversation

@benjaminaigner
Copy link

This PR adds an example for HOG composite devices:

  • mouse
  • keyboard
  • joystick
  • consumer control

All of them are tested on Android, Linux and Win10

Notes:

  • this PR does not include the changes in hid_device.c as described here:
    HOG - ATT DB / hids_device_t  #483 (comment)

  • Currently this example is only included in the libusb port Makefile, if you want to compile it for another platform either use CMake or adapt the Makefile.

@karugaru
Copy link

+1

This is an excellent example.
If this example had been included in the repository, I wouldn't have struggled.

btstack includes importing and using hids.gatt as a standard example.
However, when multiple HID input reports exist, users must write their own definitions.

Specifically, since this is more of a btstack-specific issue than a BLE problem, users might never realize it without such an example.

Translated with DeepL.com (free version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants