Open kybin opened 2 years ago
I was able to reproduce on Windows but discovered that this worked: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button - Can you please try that? I've added a guide for it.
@kybin - any updates?
Sorry I was away from my computer a while.
Unfortunately it (onmousedown) gives the same result (returns 1) for me.
I would recommend looking at any driver or system mappings for your mouse. The Mozilla guide on how to do this absolutely works as intended for me.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
window.onclick
fired with unwantedMouseEvent.button
value on a mouse click.These are the values I got.
Left: 0 Middle: 1 Right: doesn't fire the event. shows context menu Back: 1
I need 3 for Back button.
To Reproduce
Expected behaviour
Get 3 for Back button.
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response