Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct MouseButton

sealed struct MouseButton
String representation of mouse buttons.

Fields

Constants

UNKNOWN

MouseButton = {0}
Mouse Button of type UNKNOWN.

BUTTON_0

MouseButton = {1}
Mouse Button of type BUTTON_0 representing LEFT Button.

BUTTON_1

MouseButton = {2}
Mouse Button of type BUTTON_1 representing MIDDLE Button.

BUTTON_2

MouseButton = {3}
Mouse Button of type BUTTON_2 representing RIGHT Button.

BUTTON_3

MouseButton = {4}
Mouse Button of type BUTTON_3 representing FORWARD Button.

BUTTON_4

MouseButton = {5}
Mouse Button of type BUTTON_4 representing BACK Button.

BUTTON_5

MouseButton = {6}
Mouse Button of type BUTTON_5.

BUTTON_6

MouseButton = {7}
Mouse Button of type BUTTON_6.

BUTTON_7

MouseButton = {8}
Mouse Button of type BUTTON_7.

BUTTON_8

MouseButton = {9}
Mouse Button of type BUTTON_8.

MAX

MouseButton = {10}
Mouse Button of type MAX.
Last modified on October 29, 2026