Skip to content

Commit aa153ad

Browse files
committed
fl16: combine all HID descriptors into the same interface
Windows doesn't like an IAD with multiple HID descriptors, it just enumerates the first one Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 6b47af0 commit aa153ad

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

keyboards/framework/rules.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
VIA_ENABLE = yes
44
RAW_ENABLE = no
55

6+
KEYBOARD_SHARED_EP = yes
7+
68
# Enabled in info.json
79
# EXTRAKEY_ENABLE = yes # Audio control and System control
810

tmk_core/protocol/usb_descriptor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = {
645645
.Type = DTYPE_InterfaceAssociation
646646
},
647647
.FirstInterfaceIndex = KEYBOARD_INTERFACE,
648-
.TotalInterfaces = 4,
648+
.TotalInterfaces = RP2040_RESET_INTERFACE, // It's the interface after this
649649
.Class = HID_CSCP_HIDClass,
650650
.SubClass = HID_CSCP_BootSubclass,
651651
.Protocol = HID_CSCP_KeyboardBootProtocol,

0 commit comments

Comments
 (0)