diff options
author | d3v1c3nv11 <d3v1c3nv11@users.noreply.github.com> | 2017-11-06 16:33:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 16:33:05 +0200 |
commit | b50a6a2db956129d911ca6f6afb2563e38fe1dae (patch) | |
tree | 0571f19675aa712627cbd4c792ec62467176ddd2 | |
parent | ed5bfa43f839c11ff766da567b7d0deb2802dcd8 (diff) |
Update Descriptors.c
-rw-r--r-- | TERES-HID/Descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TERES-HID/Descriptors.c b/TERES-HID/Descriptors.c index bb91baf..89266b6 100644 --- a/TERES-HID/Descriptors.c +++ b/TERES-HID/Descriptors.c @@ -67,7 +67,7 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM MouseReport[] = * Buttons: 3 * Absolute screen coordinates: false */ - HID_DESCRIPTOR_MOUSE(-100, 100, -100,100, 3, false) + HID_DESCRIPTOR_WHEEL_MOUSE(-100, 100, -100,100, 3, false) }; /** Same as the MouseReport structure, but defines the keyboard HID interface's report structure. */ @@ -228,7 +228,7 @@ const USB_Descriptor_String_t PROGMEM ProductString = USB_STRING_DESCRIPTOR( * USB host. */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress) { const uint8_t DescriptorType = (wValue >> 8); |