constants/event-codes/gamepad.standard.js

/**
 * @module EVENT_CODES/GAMEPADS/STANDARD
 */

/**
 * The STANDARD gamepad 'CLUSTER_RIGHT_BUTTON_BOTTOM' event code.
 * @type {'ClusterRightButtonBottom'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_RIGHT_BUTTON_BOTTOM = 'ClusterRightButtonBottom';

/**
 * The STANDARD gamepad 'CLUSTER_RIGHT_BUTTON_RIGHT' event code.
 * @type {'ClusterRightButtonRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_RIGHT_BUTTON_RIGHT = 'ClusterRightButtonRight';

/**
 * The STANDARD gamepad 'CLUSTER_RIGHT_BUTTON_LEFT' event code.
 * @type {'ClusterRightButtonLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_RIGHT_BUTTON_LEFT = 'ClusterRightButtonLeft';

/**
 * The STANDARD gamepad 'CLUSTER_RIGHT_BUTTON_TOP' event code.
 * @type {'ClusterRightButtonTop'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_RIGHT_BUTTON_TOP = 'ClusterRightButtonTop';

/**
 * The STANDARD gamepad 'CLUSTER_FRONT_BUTTON_TOP_LEFT' event code.
 * @type {'ClusterFrontButtonTopLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_FRONT_BUTTON_TOP_LEFT = 'ClusterFrontButtonTopLeft';

/**
 * The STANDARD gamepad 'CLUSTER_FRONT_BUTTON_TOP_RIGHT' event code.
 * @type {'ClusterFrontButtonTopRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_FRONT_BUTTON_TOP_RIGHT = 'ClusterFrontButtonTopRight';

/**
 * The STANDARD gamepad 'CLUSTER_FRONT_BUTTON_BOTTOM_LEFT' event code.
 * @type {'ClusterFrontButtonBottomLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_FRONT_BUTTON_BOTTOM_LEFT = 'ClusterFrontButtonBottomLeft';

/**
 * The STANDARD gamepad 'CLUSTER_FRONT_BUTTON_BOTTOM_RIGHT' event code.
 * @type {'ClusterFrontButtonBottomRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_FRONT_BUTTON_BOTTOM_RIGHT = 'ClusterFrontButtonBottomRight';

/**
 * The STANDARD gamepad 'CLUSTER_CENTER_BUTTON_LEFT' event code.
 * @type {'ClusterCenterButtonLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_CENTER_BUTTON_LEFT = 'ClusterCenterButtonLeft';

/**
 * The STANDARD gamepad 'CLUSTER_CENTER_BUTTON_RIGHT' event code.
 * @type {'ClusterCenterButtonRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_CENTER_BUTTON_RIGHT = 'ClusterCenterButtonRight';

/**
 * The STANDARD gamepad 'STICK_LEFT_BUTTON' event code.
 * @type {'StickLeftButton'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_LEFT_BUTTON = 'StickLeftButton';

/**
 * The STANDARD gamepad 'STICK_RIGHT_BUTTON' event code.
 * @type {'StickRightButton'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_RIGHT_BUTTON = 'StickRightButton';

/**
 * The STANDARD gamepad 'CLUSTER_LEFT_BUTTON_TOP' event code.
 * @type {'ClusterLeftButtonTop'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_LEFT_BUTTON_TOP = 'ClusterLeftButtonTop';

/**
 * The STANDARD gamepad 'CLUSTER_LEFT_BUTTON_BOTTOM' event code.
 * @type {'ClusterLeftButtonBottom'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_LEFT_BUTTON_BOTTOM = 'ClusterLeftButtonBottom';

/**
 * The STANDARD gamepad 'CLUSTER_LEFT_BUTTON_LEFT' event code.
 * @type {'ClusterLeftButtonLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_LEFT_BUTTON_LEFT = 'ClusterLeftButtonLeft';

/**
 * The STANDARD gamepad 'CLUSTER_LEFT_BUTTON_RIGHT' event code.
 * @type {'ClusterLeftButtonRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_LEFT_BUTTON_RIGHT = 'ClusterLeftButtonRight';

/**
 * The STANDARD gamepad 'CLUSTER_CENTER_BUTTON_CENTER' event code.
 * @type {'ClusterCenterButtonCenter'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CLUSTER_CENTER_BUTTON_CENTER = 'ClusterCenterButtonCenter';

/**
 * The STANDARD gamepad 'STICK_LEFT_LEFT' event code.
 * @type {'StickLeftLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_LEFT_LEFT = 'StickLeftLeft';

/**
 * The STANDARD gamepad 'STICK_LEFT_RIGHT' event code.
 * @type {'StickLeftRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_LEFT_RIGHT = 'StickLeftRight';

/**
 * The STANDARD gamepad 'STICK_LEFT_UP' event code.
 * @type {'StickLeftUp'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_LEFT_UP = 'StickLeftUp';

/**
 * The STANDARD gamepad 'STICK_LEFT_DOWN' event code.
 * @type {'StickLeftDown'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_LEFT_DOWN = 'StickLeftDown';

/**
 * The STANDARD gamepad 'STICK_RIGHT_LEFT' event code.
 * @type {'StickRightLeft'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_RIGHT_LEFT = 'StickRightLeft';

/**
 * The STANDARD gamepad 'STICK_RIGHT_RIGHT' event code.
 * @type {'StickRightRight'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_RIGHT_RIGHT = 'StickRightRight';

/**
 * The STANDARD gamepad 'STICK_RIGHT_UP' event code.
 * @type {'StickRightUp'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_RIGHT_UP = 'StickRightUp';

/**
 * The STANDARD gamepad 'STICK_RIGHT_DOWN' event code.
 * @type {'StickRightDown'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const STICK_RIGHT_DOWN = 'StickRightDown';

/**
 * The STANDARD gamepad 'CONNECTED' event code.
 * @type {'Connected'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const CONNECTED = 'Connected';

/**
 * The STANDARD gamepad 'DISCONNECTED' event code.
 * @type {'Disconnected'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const DISCONNECTED = 'Disconnected';

/**
 * The STANDARD gamepad 'VIBRATE_END' event code.
 * @type {'VibrateEnd'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const VIBRATE_END = 'VibrateEnd';

/**
 * The STANDARD gamepad 'VIBRATE_START' event code.
 * @type {'VibrateStart'}
 * @constant
 *
 * @memberof module:EVENT_CODES/GAMEPADS/STANDARD
 */
const VIBRATE_START = 'VibrateStart';

export {

    CLUSTER_RIGHT_BUTTON_BOTTOM,
    CLUSTER_RIGHT_BUTTON_RIGHT,
    CLUSTER_RIGHT_BUTTON_LEFT,
    CLUSTER_RIGHT_BUTTON_TOP,

    CLUSTER_FRONT_BUTTON_TOP_LEFT,
    CLUSTER_FRONT_BUTTON_TOP_RIGHT,
    CLUSTER_FRONT_BUTTON_BOTTOM_LEFT,
    CLUSTER_FRONT_BUTTON_BOTTOM_RIGHT,

    CLUSTER_CENTER_BUTTON_LEFT,
    CLUSTER_CENTER_BUTTON_RIGHT,

    STICK_LEFT_BUTTON,
    STICK_RIGHT_BUTTON,

    CLUSTER_LEFT_BUTTON_TOP,
    CLUSTER_LEFT_BUTTON_BOTTOM,
    CLUSTER_LEFT_BUTTON_LEFT,
    CLUSTER_LEFT_BUTTON_RIGHT,

    CLUSTER_CENTER_BUTTON_CENTER,

    STICK_LEFT_LEFT,
    STICK_LEFT_RIGHT,
    STICK_LEFT_UP,
    STICK_LEFT_DOWN,
    STICK_RIGHT_LEFT,
    STICK_RIGHT_RIGHT,
    STICK_RIGHT_UP,
    STICK_RIGHT_DOWN,

    CONNECTED,
    DISCONNECTED,
    VIBRATE_END,
    VIBRATE_START
};