AMOTION_EVENT_BUTTON_PRIMARY

Constants that identify buttons that are associated with motion events. Refer to the documentation on the MotionEvent class for descriptions of each button.

Values

ValueMeaning
AMOTION_EVENT_BUTTON_PRIMARY1

primary

AMOTION_EVENT_BUTTON_SECONDARY2

secondary

AMOTION_EVENT_BUTTON_TERTIARY4

tertiary

AMOTION_EVENT_BUTTON_BACK8

back

AMOTION_EVENT_BUTTON_FORWARD16

forward

AMOTION_EVENT_BUTTON_STYLUS_PRIMARY32
AMOTION_EVENT_BUTTON_STYLUS_SECONDARY64

Meta