Make sure the button report set masks use OR in all circumstances, to prevent user...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 16 Feb 2010 12:25:31 +0000 (12:25 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 16 Feb 2010 12:25:31 +0000 (12:25 +0000)
commit2b51944a4bf6123ca5fb59bd967b8f4a1fa944e1
tree3bee44fa7a07cad7ecdbaf88db913e82726778e8
parent015956baba318c14a1e83cb1e2225aa07f99f8d2
Make sure the button report set masks use OR in all circumstances, to prevent user confusion. While the first set of the buttons report item can be a direct assignment, it is not immediately clear to new developers why this is the case.
Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
Demos/Device/ClassDriver/Mouse/Mouse.c
Demos/Device/ClassDriver/VirtualSerialMouse/VirtualSerialMouse.c
Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c