docs.unity3d.com
    Show / Hide Table of Contents

    Enum AndroidAxis

    Enum used to identity the axis type in the Android motion input event. See axis. See https://developer.android.com/reference/android/view/MotionEvent#constants_1 for more details.

    Namespace: UnityEngine.InputSystem.Android.LowLevel
    Syntax
    public enum AndroidAxis

    Fields

    Name Description Value
    Brake

    Break axis of a motion event.

    Distance

    Distance axis of a motion event.

    Gas

    Gas axis of a motion event.

    Generic1

    Generic 1 axis of a motion event.

    Generic10

    Generic 10 axis of a motion event.

    Generic11

    Generic 11 axis of a motion event.

    Generic12

    Generic 12 axis of a motion event.

    Generic13

    Generic 13 axis of a motion event.

    Generic14

    Generic 14 axis of a motion event.

    Generic15

    Generic 15 axis of a motion event.

    Generic16

    Generic 16 axis of a motion event.

    Generic2

    Generic 2 axis of a motion event.

    Generic3

    Generic 3 axis of a motion event.

    Generic4

    Generic 4 axis of a motion event.

    Generic5

    Generic 5 axis of a motion event.

    Generic6

    Generic 6 axis of a motion event.

    Generic7

    Generic 7 axis of a motion event.

    Generic8

    Generic 8 axis of a motion event.

    Generic9

    Generic 9 axis of a motion event.

    HatX

    Hat X axis of a motion event.

    HatY

    Hat Y axis of a motion event.

    Hscroll

    Horizontal Scroll axis of a motion event.

    Ltrigger

    Left Trigger axis of a motion event.

    Orientation

    Orientation axis of a motion event.

    Pressure

    Pressure axis of a motion event.

    Rtrigger

    Right Trigger axis of a motion event.

    Rudder

    Rudder axis of a motion event.

    Rx

    X Rotation axis of a motion event.

    Ry

    Y Rotation axis of a motion event.

    Rz

    Z Rotation axis of a motion event.

    Size

    Size axis of a motion event.

    Throttle

    Throttle axis of a motion event.

    Tilt

    Tilt axis of a motion event.

    ToolMajor

    ToolMajor axis of a motion event.

    ToolMinor

    ToolMinor axis of a motion event.

    TouchMajor

    TouchMajor axis of a motion event.

    TouchMinor

    TouchMinor axis of a motion event.

    Vscroll

    Vertical Scroll of a motion event.

    Wheel

    Wheel axis of a motion event.

    X

    X axis of a motion event.

    Y

    Y axis of a motion event.

    Z

    Z axis of a motion event.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023