steam-user
Version:
Steam client for Individual and AnonUser Steam account types
88 lines (84 loc) • 1.86 kB
JavaScript
/* eslint-disable */
// Auto-generated by generate-enums script on Thu Feb 24 2022 03:38:38 GMT-0500 (Eastern Standard Time)
/**
* @enum
* @readonly
*/
const EControllerElementType = {
"None": -1,
"Thumb": 0,
"ButtonSteam": 1,
"JoystickLeft": 2,
"ButtonJoystickLeft": 3,
"JoystickRight": 4,
"ButtonJoystickRight": 5,
"DPad": 6,
"ButtonA": 7,
"ButtonB": 8,
"ButtonX": 9,
"ButtonY": 10,
"ButtonSelect": 11,
"ButtonStart": 12,
"ButtonTriggerLeft": 13,
"ButtonTriggerRight": 14,
"ButtonBumperLeft": 15,
"ButtonBumperRight": 16,
"ButtonMacro0": 17,
"ButtonMacro1": 18,
"ButtonMacro2": 19,
"ButtonMacro3": 20,
"ButtonMacro4": 21,
"ButtonMacro5": 22,
"ButtonMacro6": 23,
"ButtonMacro7": 24,
"TrackpadCenter": 25,
"TrackpadLeft": 26,
"TrackpadRight": 27,
"Keyboard": 28,
"MagnifyingGlass": 29,
"ButtonMacro1Finger": 30,
"ButtonMacro2Finger": 31,
"RecordInput": 32,
"PlaybackInput": 33,
"Paste": 34,
"Max": 35,
// Value-to-name mapping for convenience
"-1": "None",
"0": "Thumb",
"1": "ButtonSteam",
"2": "JoystickLeft",
"3": "ButtonJoystickLeft",
"4": "JoystickRight",
"5": "ButtonJoystickRight",
"6": "DPad",
"7": "ButtonA",
"8": "ButtonB",
"9": "ButtonX",
"10": "ButtonY",
"11": "ButtonSelect",
"12": "ButtonStart",
"13": "ButtonTriggerLeft",
"14": "ButtonTriggerRight",
"15": "ButtonBumperLeft",
"16": "ButtonBumperRight",
"17": "ButtonMacro0",
"18": "ButtonMacro1",
"19": "ButtonMacro2",
"20": "ButtonMacro3",
"21": "ButtonMacro4",
"22": "ButtonMacro5",
"23": "ButtonMacro6",
"24": "ButtonMacro7",
"25": "TrackpadCenter",
"26": "TrackpadLeft",
"27": "TrackpadRight",
"28": "Keyboard",
"29": "MagnifyingGlass",
"30": "ButtonMacro1Finger",
"31": "ButtonMacro2Finger",
"32": "RecordInput",
"33": "PlaybackInput",
"34": "Paste",
"35": "Max",
};
module.exports = EControllerElementType;