Method GetButtonState
GetButtonState(MouseButton)
Gets the current state of the specified button from the device from the underlying system.
MouseButtonState GetButtonState(MouseButton mouseButton)
Parameters
mouseButtonMouseButtonThe mouse button to get the state of.
Returns
- MouseButtonState
The state of the specified mouse button.