Closed tDwtp closed 6 years ago
https://github.com/Tangent128/luasdl2/blob/6df26c7c24d34fdedf1b1d6557adfa06d740f50f/src/mouse.c#L403 to:
{ "Middle", SDL_BUTTON_MMASK },
Upon dumping the sdl module table, I found that the values of SDL.mouseMask.Right and SDL.mouseMask.Middle are both the same (4 -> SDL_BUTTON_RMASK).
SDL.mouseMask.Right
SDL.mouseMask.Middle
SDL_BUTTON_RMASK
Error is in the Line mentioned above. (I do not know how to do pull requests and such, sorry)
Fix was merged.
https://github.com/Tangent128/luasdl2/blob/6df26c7c24d34fdedf1b1d6557adfa06d740f50f/src/mouse.c#L403 to:
Upon dumping the sdl module table, I found that the values of
SDL.mouseMask.Right
andSDL.mouseMask.Middle
are both the same (4 ->SDL_BUTTON_RMASK
).Error is in the Line mentioned above. (I do not know how to do pull requests and such, sorry)