mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-12 17:23:14 +00:00
Corrected html5 glfw3 bug
Mouse button values are inverted!
This commit is contained in:
parent
88e1fd9530
commit
c17c1ccaea
@ -157,8 +157,13 @@
|
|||||||
|
|
||||||
// Mouse Buttons
|
// Mouse Buttons
|
||||||
#define MOUSE_LEFT_BUTTON 0
|
#define MOUSE_LEFT_BUTTON 0
|
||||||
#define MOUSE_RIGHT_BUTTON 1
|
#if defined(PLATFORM_WEB)
|
||||||
#define MOUSE_MIDDLE_BUTTON 2
|
#define MOUSE_RIGHT_BUTTON 2
|
||||||
|
#define MOUSE_MIDDLE_BUTTON 1
|
||||||
|
#else
|
||||||
|
#define MOUSE_RIGHT_BUTTON 1
|
||||||
|
#define MOUSE_MIDDLE_BUTTON 2
|
||||||
|
#endif
|
||||||
|
|
||||||
// Gamepad Number
|
// Gamepad Number
|
||||||
#define GAMEPAD_PLAYER1 0
|
#define GAMEPAD_PLAYER1 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user