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