[This is preliminary documentation and is subject to change.]
The MouseState type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllKeys |
Gets all keys.
(Inherited from KeyboardState.) | |
IsAltDown |
Gets a value indicating whether either alt key is down.
(Inherited from KeyboardState.) | |
IsControlDown |
Gets a value indicating whether either control key is down.
(Inherited from KeyboardState.) | |
IsLeftButtonDown | ||
IsLeftButtonUp | ||
IsMiddleButtonDown | ||
IsMiddleButtonUp | ||
IsRightButtonDown | ||
IsRightButtonUp | ||
IsShiftDown |
Gets a value indicating whether either shift key is down.
(Inherited from KeyboardState.) | |
MouseWheelDelta | ||
PressedKeys |
Gets pressed keys.
(Inherited from KeyboardState.) | |
ReleasedKeys |
Gets released keys.
(Inherited from KeyboardState.) | |
X | ||
Y |
See Also