Browse Source

Corrected old issue with mouse buttons on web

pull/189/head
Ray 8 years ago
parent
commit
3396743aba
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      src/raylib.h

+ 2
- 7
src/raylib.h View File

@ -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

Loading…
Cancel
Save