Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`SDL.mouseMask.Right` and `SDL.mouseMask.Middle` are the same

tDwtp opened this issue · comments

commented

{ "Middle", SDL_BUTTON_RMASK },

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).

Error is in the Line mentioned above.
(I do not know how to do pull requests and such, sorry)

commented

Fix was merged.