aboutsummaryrefslogtreecommitdiff
path: root/src/input/mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/mouse.h')
-rw-r--r--src/input/mouse.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/input/mouse.h b/src/input/mouse.h
new file mode 100644
index 0000000..55e3346
--- /dev/null
+++ b/src/input/mouse.h
@@ -0,0 +1,30 @@
+#ifndef __JIN_MOUSE_H
+#define __JIN_MOUSE_H
+namespace jin
+{
+namespace input
+{
+ class Mouse
+ {
+ public:
+
+ };
+
+ inline const char* buttonStr(int id) {
+ switch (id) {
+ case 1: return "left";
+ case 2: return "middle";
+ case 3: return "right";
+ case 4: return "wheelup";
+ case 5: return "wheeldown";
+ default: return "?";
+ }
+ }
+
+ inline const char* wheelStr(int dir)
+ {
+
+ }
+}
+}
+#endif \ No newline at end of file