Convert a MouseIO.Button to a raylib.MouseButton.
Temporarily named toRaylibEx instead of toRaylib to avoid conflicts with legacy Raylib functionality.
Note: raylib.MouseButton does not have a dedicated invalid value so this function will instead return -1.
A Fluid MouseIO button code.
A corresponding raylib.MouseButton value, -1 if there isn't one.
See Implementation
Convert a MouseIO.Button to a raylib.MouseButton.
Temporarily named toRaylibEx instead of toRaylib to avoid conflicts with legacy Raylib functionality.
Note: raylib.MouseButton does not have a dedicated invalid value so this function will instead return -1.