We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listened to SDL_EVENT_MOUSE_BUTTON_DOWN and SDL_EVENT_KEY_DOWN, I then tried to respectively retrieve event->button.which and event->key.which.
SDL_EVENT_MOUSE_BUTTON_DOWN
SDL_EVENT_KEY_DOWN
event->button.which
event->key.which
On Windows 11, mouse and keyboard devices always seem to be 0.
On MacOS, keyboard is correct (although there is still only one device, see #12319), mouse is always 0.
The text was updated successfully, but these errors were encountered:
Duplicate of #11259
Sorry, something went wrong.
Alright, went forward with relative mouse and it seems to work (outside of an ImGui bug I issued)
Remain the issue with keyboards which continuously returns 0 on Windows
also duplicate of #11336
No branches or pull requests
Listened to
SDL_EVENT_MOUSE_BUTTON_DOWN
andSDL_EVENT_KEY_DOWN
, I then tried to respectively retrieveevent->button.which
andevent->key.which
.On Windows 11, mouse and keyboard devices always seem to be 0.
On MacOS, keyboard is correct (although there is still only one device, see #12319), mouse is always 0.
The text was updated successfully, but these errors were encountered: