From 3396743aba163545eb186beb47667d55d38528e9 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 9 Oct 2016 13:25:50 +0200 Subject: [PATCH] Corrected old issue with mouse buttons on web --- src/raylib.h | 9 ++------- 1 file 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