Kaleidoscope
MouseButtons.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define MOUSE_LEFT (1 << 0)
4 #define MOUSE_RIGHT (1 << 1)
5 #define MOUSE_MIDDLE (1 << 2)
6 #define MOUSE_PREV (1 << 3)
7 #define MOUSE_NEXT (1 << 4)
8 // actually this mouse report has 8 buttons (for smaller descriptor)
9 // but the last 3 wont do anything from what I tested
10 #define MOUSE_ALL (MOUSE_LEFT | MOUSE_RIGHT | MOUSE_MIDDLE | MOUSE_PREV | MOUSE_NEXT)