jetlag2d
    Preparing search index...

    Enumeration GamepadButton

    The buttons on a "standard mapping" gamepad (the W3C Gamepad API's mapping: "standard" layout, which almost every modern controller Chrome reports uses). Each value is that button's index into the browser Gamepad.buttons array.

    Index
    A: 0
    B: 1
    DPAD_DOWN: 13
    DPAD_LEFT: 14
    DPAD_RIGHT: 15
    DPAD_UP: 12
    HOME: 16
    LEFT_SHOULDER: 4
    LEFT_STICK: 10
    LEFT_TRIGGER: 6
    RIGHT_SHOULDER: 5
    RIGHT_STICK: 11
    RIGHT_TRIGGER: 7
    SELECT: 8
    START: 9
    X: 2
    Y: 3