Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit a37d89d

Browse files
committed
[HID] Add USAGE_PAGE32 to parser for 8bitdo SF30 Dinput
1 parent 4785c76 commit a37d89d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

main/adapter/hid_parser.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ void hid_parser(struct bt_data *bt_data, uint8_t *data, uint32_t len) {
248248
hid_stack[hid_stack_idx].usage_page = 0xFF;
249249
desc += 2;
250250
break;
251+
case 0x07: /* USAGE_PAGE32 */
252+
hid_stack[hid_stack_idx].usage_page = 0xFF;
253+
desc += 4;
254+
break;
251255
case HID_LI_USAGE: /* 0x09 */
252256
case HID_LI_USAGE_MIN(1): /* 0x19 */
253257
if (!hid_usage_is_collection(hid_stack[hid_stack_idx].usage_page, *desc)) {

0 commit comments

Comments
 (0)