refractor, add wheel for mouse demo

This commit is contained in:
hathach
2013-09-23 01:12:59 +07:00
parent 85f3ad9d3b
commit c4fef827b1
3 changed files with 14 additions and 10 deletions

View File

@@ -125,9 +125,9 @@ typedef ATTR_PACKED_STRUCT(struct)
* \brief buttons codes for HID mouse
*/
enum {
HID_MOUSEBUTTON_LEFT = BIT_(0),
HID_MOUSEBUTTON_RIGHT = BIT_(1),
HID_MOUSEBUTTON_MIDDLE = BIT_(2)
MOUSE_BUTTON_LEFT = BIT_(0),
MOUSE_BUTTON_RIGHT = BIT_(1),
MOUSE_BUTTON_MIDDLE = BIT_(2)
};
/**