projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add LUFA-side channel open/close routines, add signalling handlers for the creation...
[pub/USBasp.git]
/
Demos
/
DualRole
/
ClassDriver
/
MouseHostDevice
/
DeviceFunctions.c
diff --git
a/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
b/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
index
b07c2be
..
0ae2825
100644
(file)
--- a/
Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
+++ b/
Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
@@
-123,7
+123,7
@@
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
MouseReport->X = -1;
\r
\r
if (JoyStatus_LCL & JOY_PRESS)
\r
- MouseReport->Button
= (1 << 0);
\r
+ MouseReport->Button
|
= (1 << 0);
\r
\r
if (ButtonStatus_LCL & BUTTONS_BUTTON1)
\r
MouseReport->Button |= (1 << 1);
\r