aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/window/mouse_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl/window/mouse_button.h')
-rw-r--r--include/mgl/window/mouse_button.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mgl/window/mouse_button.h b/include/mgl/window/mouse_button.h
new file mode 100644
index 0000000..fccf0a7
--- /dev/null
+++ b/include/mgl/window/mouse_button.h
@@ -0,0 +1,16 @@
+#ifndef _MGL_MOUSE_BUTTON_H_
+#define _MGL_MOUSE_BUTTON_H_
+
+typedef enum {
+ MGL_BUTTON_UNKNOWN,
+ MGL_BUTTON_LEFT,
+ MGL_BUTTON_RIGHT,
+ MGL_BUTTON_MIDDLE,
+ MGL_BUTTON_XBUTTON1,
+ MGL_BUTTON_XBUTTON2,
+
+ /* This should always be the last mouse button */
+ __MGL_NUM_MOUSE_BUTTONS__
+} mgl_mouse_button;
+
+#endif /* _MGL_MOUSE_BUTTON_H_ */