Axis Enum

Definition

Identifies axes reported by motion events.

public enum Axis
type Axis = 
Inheritance
Axis

Fields

Name Value Description
X 0

Identifies the X axis reported by a motion event.

Y 1

Identifies the Y axis reported by a motion event.

Pressure 2

Identifies the pressure axis reported by a motion event.

Size 3

Identifies the size axis reported by a motion event.

TouchMajor 4

Identifies the touch major axis reported by a motion event.

TouchMinor 5

Identifies the touch minor axis reported by a motion event.

ToolMajor 6

Identifies the tool major axis reported by a motion event.

ToolMinor 7

Identifies the tool minor axis reported by a motion event.

Orientation 8

Identifies the orientation axis reported by a motion event.

Vscroll 9

Identifies the vertical scroll axis reported by a motion event.

Hscroll 10

Identifies the horizontal scroll axis reported by a motion event.

Z 11

Identifies the Z axis reported by a motion event.

Rx 12

Identifies the X rotation axis reported by a motion event.

Ry 13

Identifies the Y rotation axis reported by a motion event.

Rz 14

Identifies the Z rotation axis reported by a motion event.

HatX 15

Identifies the hat X axis reported by a motion event.

HatY 16

Identifies the hat Y axis reported by a motion event.

Ltrigger 17

Identifies the left trigger axis reported by a motion event.

Rtrigger 18

Identifies the right trigger axis reported by a motion event.

Throttle 19

Identifies the throttle axis reported by a motion event.

Rudder 20

Identifies the rudder axis reported by a motion event.

Wheel 21

Identifies the wheel axis reported by a motion event.

Gas 22

Identifies the gas axis reported by a motion event.

Brake 23

Identifies the brake axis reported by a motion event.

Distance 24

Identifies the distance axis reported by a motion event.

Tilt 25

Identifies the tilt axis reported by a motion event.

Scroll 26

Identifies the scroll axis reported by a motion event.

RelativeX 27

Identifies the relative X axis reported by a motion event.

RelativeY 28

Identifies the relative Y axis reported by a motion event.

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

Identifies the gesture X offset axis reported by a motion event.

GestureYOffset 49

Identifies the gesture Y offset axis reported by a motion event.

GestureScrollXDistance 50

Identifies the gesture scroll X distance axis reported by a motion event.

GestureScrollYDistance 51

Identifies the gesture scroll Y distance axis reported by a motion event.

GesturePinchScaleFactor 52

Identifies the gesture pinch scale factor axis reported by a motion event.

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