Skip to content

HOG - ATT DB / hids_device_t  #483

@benjaminaigner

Description

@benjaminaigner

Dear Matthias,

my last contact with BTStack is a long time ago, but I'm glad the RaspberryPi Foundation is using BTStack for the PicoW!
I would like to implement a flexible way to use either combination of Mouse, Keyboard and Joystick in Bluetooth as it is working
with USB-HID (TinyUSB), see earlephilhower/arduino-pico#1506 .
I've done this before with the ESP32 (https://github.com/asterics/esp32_mouse_keyboard), which was of course no fun, but it is working. The problem is: with Bluedroid one is much more flexible with the creation of the ATT DB, I'm currently thinking on how to do this with BTStack, without re-implementing most of the HID stuff.

Is your feature request related to a problem? Please describe.
Although HID would allow composite devices (e.g. keyboard+mouse+joystick),
BTStack is using a fixed ATT setup with 1 IN, 1 OUT & 1 FEATURE entry.

Describe the solution you'd like
Some flexibility what parts are in the hids_device struct and the possibility to get/set a handle to the hids_device_send_input_report function (at least more than 1 input entry)

Describe alternatives you've considered
Maybe a flexible list of input,output&feature entries, including the handles & values.

Additional context

Thank you very much,
greetings,
Benjamin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions