From c4fef827b1f6cb33b9cc336687bd4ff791f8eec9 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 23 Sep 2013 01:12:59 +0700 Subject: refractor, add wheel for mouse demo --- tinyusb/class/hid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tinyusb/class') 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) }; /** -- cgit v1.3.1