aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/KeyboardMouse
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-01-12 00:42:00 +0000
committerDean Camera <[email protected]>2010-01-12 00:42:00 +0000
commit89e4d73289b6156aebf4e3e492033d6b017c7813 (patch)
tree3c4b8adc646193a55c764d57e9cc136498fcd8b1 /Demos/Device/ClassDriver/KeyboardMouse
parent5fc294a6503d48b422ce67438d703bdd647de146 (diff)
downloadqmk_firmware-89e4d73289b6156aebf4e3e492033d6b017c7813.tar.gz
qmk_firmware-89e4d73289b6156aebf4e3e492033d6b017c7813.zip
Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse demo class driver structures.
Added caveat information to the CDC device class driver.
Diffstat (limited to 'Demos/Device/ClassDriver/KeyboardMouse')
-rw-r--r--Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
index ec17bf69a5..dcdf88682b 100644
--- a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
+++ b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
@@ -72,13 +72,13 @@ USB_ClassInfo_HID_Device_t Mouse_HID_Interface =
{
.Config =
{
- .InterfaceNumber = 0,
+ .InterfaceNumber = 1,
- .ReportINEndpointNumber = MOUSE_IN_EPNUM,
- .ReportINEndpointSize = HID_EPSIZE,
+ .ReportINEndpointNumber = MOUSE_IN_EPNUM,
+ .ReportINEndpointSize = HID_EPSIZE,
- .PrevReportINBuffer = PrevMouseHIDReportBuffer,
- .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
+ .PrevReportINBuffer = PrevMouseHIDReportBuffer,
+ .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
},
};