Axis Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum Axis
type Axis = 
Inheritance
Axis

Fields

Name Value Description
X 0
Y 1
Pressure 2
Size 3
TouchMajor 4
TouchMinor 5
ToolMajor 6
ToolMinor 7
Orientation 8
Vscroll 9
Hscroll 10
Z 11
Rx 12
Ry 13
Rz 14
HatX 15
HatY 16
Ltrigger 17
Rtrigger 18
Throttle 19
Rudder 20
Wheel 21
Gas 22
Brake 23
Distance 24
Tilt 25
Scroll 26
RelativeX 27
RelativeY 28
Generic1 32

Axis constant: Generic 1 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic2 33

Axis constant: Generic 2 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic3 34

Axis constant: Generic 3 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic4 35

Axis constant: Generic 4 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic5 36

Axis constant: Generic 5 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic6 37

Axis constant: Generic 6 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic7 38

Axis constant: Generic 7 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic8 39

Axis constant: Generic 8 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic9 40

Axis constant: Generic 9 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic10 41

Axis constant: Generic 10 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic11 42

Axis constant: Generic 11 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic12 43

Axis constant: Generic 12 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic13 44

Axis constant: Generic 13 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic14 45

Axis constant: Generic 14 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic15 46

Axis constant: Generic 15 axis of a motion event. The interpretation of a generic axis is device-specific.

Generic16 47

Axis constant: Generic 16 axis of a motion event. The interpretation of a generic axis is device-specific.

GestureXOffset 48
GestureYOffset 49
GestureScrollXDistance 50
GestureScrollYDistance 51
GesturePinchScaleFactor 52

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to