switch mouse button constants to those defined in the HID library.

This is a leakage from the KeyboardioHID library
pull/365/head
Jesse Vincent 8 years ago
parent 5f3b3486ed
commit ef47dc5447
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -3,9 +3,9 @@
#define IS_MOUSE_KEY B00010000
// Synthetic, not internal
#define KEY_MOUSE_BTN_L 0x01 // Synthetic key
#define KEY_MOUSE_BTN_M 0x02 // Synthetic key
#define KEY_MOUSE_BTN_R 0x03 // Synthetic key
#define KEY_MOUSE_BTN_L MOUSE_LEFT // Synthetic key
#define KEY_MOUSE_BTN_M MOUSE_MIDDLE // Synthetic key
#define KEY_MOUSE_BTN_R MOUSE_RIGHT // Synthetic key
#define KEY_MOUSE_UP B0000001

Loading…
Cancel
Save