aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-10-09 13:25:50 +0200
committerRay <raysan5@gmail.com>2016-10-09 13:25:50 +0200
commit3396743aba163545eb186beb47667d55d38528e9 (patch)
treedf35de35068965578e8ff9f0f2596107d5d43f77 /src
parentefa286a550115ebcb8dfb4e84ea6a719d110fd27 (diff)
downloadraylib-3396743aba163545eb186beb47667d55d38528e9.tar.gz
raylib-3396743aba163545eb186beb47667d55d38528e9.zip
Corrected old issue with mouse buttons on web
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/raylib.h b/src/raylib.h
index e6e510a9..3b752785 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -176,13 +176,8 @@
// Mouse Buttons
#define MOUSE_LEFT_BUTTON 0
-#if defined(PLATFORM_WEB)
- #define MOUSE_RIGHT_BUTTON 2
- #define MOUSE_MIDDLE_BUTTON 1
-#else
- #define MOUSE_RIGHT_BUTTON 1
- #define MOUSE_MIDDLE_BUTTON 2
-#endif
+#define MOUSE_RIGHT_BUTTON 1
+#define MOUSE_MIDDLE_BUTTON 2
// Touch points registered
#define MAX_TOUCH_POINTS 2