Skip to content

Conversation

@earlephilhower
Copy link
Owner

Fixes #3262

BTStack redefines many USB HID definitions, so need to be careful to not include full tusb.h before btstack.h. Keyboard and Mouse didn't need special report structs, but Joystick (joystick16) did, so it was including TUSB and BTstack and barfing.

Separate the joystick report struct definition from the HID descriptor to avoid the issue.

Fixes #3262

BTStack redefines many USB HID definitions, so need to be careful to not include
full tusb.h before btstack.h.  Keyboard and Mouse didn't need special report
structs, but Joystick (joystick16) did, so it was including TUSB and BTstack
and barfing.

Separate the joystick report struct definition from the HID descriptor
to avoid the issue.
@earlephilhower earlephilhower merged commit 30aead9 into master Dec 9, 2025
32 checks passed
@earlephilhower earlephilhower deleted the blesux branch December 9, 2025 18:17
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.

BLE Mouse Input & USB Joystick Output At Same Time

2 participants