Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates mouse buttons.
Syntax
typedef enum GameInputMouseButtons
{
GameInputMouseNone = 0x00000000,
GameInputMouseLeftButton = 0x00000001,
GameInputMouseRightButton = 0x00000002,
GameInputMouseMiddleButton = 0x00000004,
GameInputMouseButton4 = 0x00000008,
GameInputMouseButton5 = 0x00000010,
GameInputMouseWheelTiltLeft = 0x00000020,
GameInputMouseWheelTiltRight = 0x00000040
} GameInputMouseButtons
Constants
| Constant | Description |
|---|---|
| GameInputMouseNone | No mouse buttons. |
| GameInputMouseLeftButton | Left mouse button. |
| GameInputMouseRightButton | Right mouse button. |
| GameInputMouseMiddleButton | Middle mouse button. |
| GameInputMouseButton4 | Fourth mouse button. |
| GameInputMouseButton5 | Fifth mouse button. |
| GameInputMouseWheelTiltLeft | Left tilt of scroll wheel. |
| GameInputMouseWheelTiltRight | Right tilt of scroll wheel. |
Remarks
This enumeration is used in the GameInputMouseInfo structure (to determine which mouse buttons are available) and in the GameInputMouseState structure (to get device readings).
For more information about accessing device properties, see GameInput devices. For more information about getting device readings, see GameInput readings.
Requirements
Header: GameInput.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles