diff options
| author | hathach <[email protected]> | 2013-09-23 01:12:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-23 01:12:59 +0700 |
| commit | c4fef827b1f6cb33b9cc336687bd4ff791f8eec9 (patch) | |
| tree | a58599d82e2a03b593db76bc5fc8dad83f4c407e /tinyusb/class | |
| parent | 85f3ad9d3becf277400ec6c865281ada43ae19a4 (diff) | |
refractor, add wheel for mouse demo
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/hid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h index e68d1596f..3c550cd3e 100644 --- a/tinyusb/class/hid.h +++ b/tinyusb/class/hid.h @@ -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) }; /** |
