Getting MouseButton event when it happens, not when it is released
-
19-06-2021 - |
Pregunta
Simply put, I want to be able to get the event of a mouseclick (specifically MiddleButton) when a user clicks the button - not after it's been released.
I think I've done it once before, but I've forgotten.
This is to be able to navigate a 3D view when the user clicks the button, in an XNA project.
Are there any similiar ways to register HotKeys but for the Mouse?
Solución
Isn't that just the MouseDown
event?
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow