summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authord3v1c3nv11 <d3v1c3nv11@users.noreply.github.com>2017-11-06 16:02:24 +0200
committerGitHub <noreply@github.com>2017-11-06 16:02:24 +0200
commit4092af7efe4aa6b125ef0c19d76663d76eab19c1 (patch)
tree13ded2365638fb3b2f85dd96a58ad2f8fe85f840
parent1c5e30099018d04a6e3d829be78b195ef5c81c6c (diff)
Update lufa_addwheelmouse.patch
-rw-r--r--lufa_addwheelmouse.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/lufa_addwheelmouse.patch b/lufa_addwheelmouse.patch
index b843d49..9fbeb89 100644
--- a/lufa_addwheelmouse.patch
+++ b/lufa_addwheelmouse.patch
@@ -4,13 +4,13 @@
HID_RI_REPORT_COUNT(8, 0x02), \
HID_RI_REPORT_SIZE(8, (((MinAxisVal >= -128) && (MaxAxisVal <= 127)) ? 8 : 16)), \
HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | (AbsoluteCoords ? HID_IOF_ABSOLUTE : HID_IOF_RELATIVE)), \
-- HID_RI_USAGE(8, 0x38), \
-- HID_RI_LOGICAL_MINIMUM(8, -127), \
-- HID_RI_LOGICAL_MAXIMUM(8, 127), \
-- HID_RI_PHYSICAL_MINIMUM(8, -1), \
-- HID_RI_PHYSICAL_MAXIMUM(8, 1), \
-- HID_RI_REPORT_SIZE(8, 0x08), \
-- HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_RELATIVE), \
++ HID_RI_USAGE(8, 0x38), \
++ HID_RI_LOGICAL_MINIMUM(8, -127), \
++ HID_RI_LOGICAL_MAXIMUM(8, 127), \
++ HID_RI_PHYSICAL_MINIMUM(8, -1), \
++ HID_RI_PHYSICAL_MAXIMUM(8, 1), \
++ HID_RI_REPORT_SIZE(8, 0x08), \
++ HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_VARIABLE | HID_IOF_RELATIVE), \
HID_RI_END_COLLECTION(0), \
HID_RI_END_COLLECTION(0)
@@ -18,7 +18,7 @@
uint8_t Button; /**< Button mask for currently pressed buttons in the mouse. */
int8_t X; /**< Current delta X movement of the mouse. */
int8_t Y; /**< Current delta Y movement on the mouse. */
-- int8_t Wheel;
++ int8_t Wheel;
} ATTR_PACKED USB_MouseReport_Data_t;
/** \brief Standard HID Boot Protocol Keyboard Report.