You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue using IsMouseButtonPressed() with raylib.
I try checking the buttons, and the mouse back button is of index 3 instead of the index 6 in MouseButton enum.
for (int i = 0; i < 8; i++) {
if (IsMouseButtonPressed(i))
printf("button: %d\n", i);
}
I am trying to understand what the is. Is it my Linux machine that is not correctly map my mouse ? Does it mean that I cannot use IsMouseButtonPressed() reliably for mouse extra buttons?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have an issue using IsMouseButtonPressed() with raylib.
I try checking the buttons, and the mouse back button is of index 3 instead of the index 6 in MouseButton enum.
I am trying to understand what the is. Is it my Linux machine that is not correctly map my mouse ? Does it mean that I cannot use IsMouseButtonPressed() reliably for mouse extra buttons?
Thanks !
All reactions