GameInputLabel

枚举支持的按钮标签。

语法

typedef enum GameInputLabel  
{  
    GameInputLabelUnknown = -1,  
    GameInputLabelNone = 0,  
    GameInputLabelXboxGuide = 1,  
    GameInputLabelXboxBack = 2,  
    GameInputLabelXboxStart = 3,  
    GameInputLabelXboxMenu = 4,  
    GameInputLabelXboxView = 5,  
    GameInputLabelXboxA = 7,  
    GameInputLabelXboxB = 8,  
    GameInputLabelXboxX = 9,  
    GameInputLabelXboxY = 10,  
    GameInputLabelXboxDPadUp = 11,  
    GameInputLabelXboxDPadDown = 12,  
    GameInputLabelXboxDPadLeft = 13,  
    GameInputLabelXboxDPadRight = 14,  
    GameInputLabelXboxLeftShoulder = 15,  
    GameInputLabelXboxLeftTrigger = 16,  
    GameInputLabelXboxLeftStickButton = 17,  
    GameInputLabelXboxRightShoulder = 18,  
    GameInputLabelXboxRightTrigger = 19,  
    GameInputLabelXboxRightStickButton = 20,  
    GameInputLabelXboxPaddle1 = 21,  
    GameInputLabelXboxPaddle2 = 22,  
    GameInputLabelXboxPaddle3 = 23,  
    GameInputLabelXboxPaddle4 = 24,  
    GameInputLabelLetterA = 25,  
    GameInputLabelLetterB = 26,  
    GameInputLabelLetterC = 27,  
    GameInputLabelLetterD = 28,  
    GameInputLabelLetterE = 29,  
    GameInputLabelLetterF = 30,  
    GameInputLabelLetterG = 31,  
    GameInputLabelLetterH = 32,  
    GameInputLabelLetterI = 33,  
    GameInputLabelLetterJ = 34,  
    GameInputLabelLetterK = 35,  
    GameInputLabelLetterL = 36,  
    GameInputLabelLetterM = 37,  
    GameInputLabelLetterN = 38,  
    GameInputLabelLetterO = 39,  
    GameInputLabelLetterP = 40,  
    GameInputLabelLetterQ = 41,  
    GameInputLabelLetterR = 42,  
    GameInputLabelLetterS = 43,  
    GameInputLabelLetterT = 44,  
    GameInputLabelLetterU = 45,  
    GameInputLabelLetterV = 46,  
    GameInputLabelLetterW = 47,  
    GameInputLabelLetterX = 48,  
    GameInputLabelLetterY = 49,  
    GameInputLabelLetterZ = 50,  
    GameInputLabelNumber0 = 51,  
    GameInputLabelNumber1 = 52,  
    GameInputLabelNumber2 = 53,  
    GameInputLabelNumber3 = 54,  
    GameInputLabelNumber4 = 55,  
    GameInputLabelNumber5 = 56,  
    GameInputLabelNumber6 = 57,  
    GameInputLabelNumber7 = 58,  
    GameInputLabelNumber8 = 59,  
    GameInputLabelNumber9 = 60,  
    GameInputLabelArrowUp = 61,  
    GameInputLabelArrowUpRight = 62,  
    GameInputLabelArrowRight = 63,  
    GameInputLabelArrowDownRight = 64,  
    GameInputLabelArrowDown = 65,  
    GameInputLabelArrowDownLLeft = 66,  
    GameInputLabelArrowLeft = 67,  
    GameInputLabelArrowUpLeft = 68,  
    GameInputLabelArrowUpDown = 69,  
    GameInputLabelArrowLeftRight = 70,  
    GameInputLabelArrowUpDownLeftRight = 71,  
    GameInputLabelArrowClockwise = 72,  
    GameInputLabelArrowCounterClockwise = 73,  
    GameInputLabelArrowReturn = 74,  
    GameInputLabelIconBranding = 75,  
    GameInputLabelIconHome = 76,  
    GameInputLabelIconMenu = 77,  
    GameInputLabelIconCross = 78,  
    GameInputLabelIconCircle = 79,  
    GameInputLabelIconSquare = 80,  
    GameInputLabelIconTriangle = 81,  
    GameInputLabelIconStar = 82,  
    GameInputLabelIconDPadUp = 83,  
    GameInputLabelIconDPadDown = 84,  
    GameInputLabelIconDPadLeft = 85,  
    GameInputLabelIconDPadRight = 86,  
    GameInputLabelIconDialClockwise = 87,  
    GameInputLabelIconDialCounterClockwise = 88,  
    GameInputLabelIconSliderLeftRight = 89,  
    GameInputLabelIconSliderUpDown = 90,  
    GameInputLabelIconWheelUpDown = 91,  
    GameInputLabelIconPlus = 92,  
    GameInputLabelIconMinus = 93,  
    GameInputLabelIconSuspension = 94,  
    GameInputLabelHome = 95,  
    GameInputLabelGuide = 96,  
    GameInputLabelMode = 97,  
    GameInputLabelSelect = 98,  
    GameInputLabelMenu = 99,  
    GameInputLabelView = 100,  
    GameInputLabelBack = 101,  
    GameInputLabelStart = 102,  
    GameInputLabelOptions = 103,  
    GameInputLabelShare = 104,  
    GameInputLabelUp = 105,  
    GameInputLabelDown = 106,  
    GameInputLabelLeft = 107,  
    GameInputLabelRight = 108,  
    GameInputLabelLB = 109,  
    GameInputLabelLT = 110,  
    GameInputLabelLSB = 111,  
    GameInputLabelL1 = 112,  
    GameInputLabelL2 = 113,  
    GameInputLabelL3 = 114,  
    GameInputLabelRB = 115,  
    GameInputLabelRT = 116,  
    GameInputLabelRSB = 117,  
    GameInputLabelR1 = 118,  
    GameInputLabelR2 = 119,  
    GameInputLabelR3 = 120,  
    GameInputLabelP1 = 121,  
    GameInputLabelP2 = 122,  
    GameInputLabelP3 = 123,  
    GameInputLabelP4 = 124  
} GameInputLabel  

常量

常量 说明
GameInputLabelUnknown 标签为未知的
GameInputLabelNone 无标签
GameInputLabelXboxGuide Xbox 导航按钮
GameInputLabelXboxBack Xbox 返回按钮
GameInputLabelXboxStart Xbox 开始按钮
GameInputLabelXboxMenu Xbox“菜单”按钮
GameInputLabelXboxView Xbox“视图”按钮
GameInputLabelXboxA Xbox A 按钮
GameInputLabelXboxB Xbox B 按钮
GameInputLabelXboxX Xbox X 按钮
GameInputLabelXboxY Xbox Y 按钮
GameInputLabelXboxDPadUp Xbox 方向键向上按钮
GameInputLabelXboxDPadDown Xbox 方向键向下按钮
GameInputLabelXboxDPadLeft Xbox 方向键向左按钮
GameInputLabelXboxDPadRight Xbox 方向键向右按钮
GameInputLabelXboxLeftShoulder Xbox 左侧肩按钮
GameInputLabelXboxLeftTrigger Xbox 左扳机键
GameInputLabelXboxLeftStickButton Xbox 左摇杆按钮
GameInputLabelXboxRightShoulder Xbox 右侧肩按钮
GameInputLabelXboxRightTrigger Xbox 右扳机键
GameInputLabelXboxRightStickButton Xbox 右摇杆按钮
GameInputLabelXboxPaddle1 Xbox 拨片 1
GameInputLabelXboxPaddle2 Xbox 拨片 2
GameInputLabelXboxPaddle3 Xbox 拨片 3
GameInputLabelXboxPaddle4 Xbox 拨片 4
GameInputLabelLetterA Alpha 数字键 A
GameInputLabelLetterB Alpha 数字键 B
GameInputLabelLetterC Alpha 数字键 C
GameInputLabelLetterD Alpha 数字键 D
GameInputLabelLetterE Alpha 数字键 E
GameInputLabelLetterF Alpha 数字键 F
GameInputLabelLetterG Alpha 数字键 G
GameInputLabelLetterH Alpha 数字键 H
GameInputLabelLetterI Alpha 数字键 I
GameInputLabelLetterJ Alpha 数字键 J
GameInputLabelLetterK Alpha 数字键 K
GameInputLabelLetterL Alpha 数字键 L
GameInputLabelLetterM Alpha 数字键 M
GameInputLabelLetterN Alpha 数字键 N
GameInputLabelLetterO Alpha 数字键 O
GameInputLabelLetterP Alpha 数字键 P
GameInputLabelLetterQ Alpha 数字键 Q
GameInputLabelLetterR Alpha 数字键 R
GameInputLabelLetterS Alpha 数字键 S
GameInputLabelLetterT Alpha 数字键 T
GameInputLabelLetterU Alpha 数字键 U
GameInputLabelLetterV Alpha 数字键 V
GameInputLabelLetterW Alpha 数字键 W
GameInputLabelLetterX Alpha 数字键 X
GameInputLabelLetterY Alpha 数字键 Y
GameInputLabelLetterZ Alpha 数字键 Z
GameInputLabelNumber0 Alpha 数字键 0
GameInputLabelNumber1 Alpha 数字键 1
GameInputLabelNumber2 Alpha 数字键 2
GameInputLabelNumber3 Alpha 数字键 3
GameInputLabelNumber4 Alpha 数字键 4
GameInputLabelNumber5 Alpha 数字键 5
GameInputLabelNumber6 Alpha 数字键 6
GameInputLabelNumber7 Alpha 数字键 7
GameInputLabelNumber8 Alpha 数字键 8
GameInputLabelNumber9 Alpha 数字键 9
GameInputLabelArrowUp 向上箭头
GameInputLabelArrowUpRight 右上箭头
GameInputLabelArrowRight 向右箭头
GameInputLabelArrowDownRight 右下箭头
GameInputLabelArrowDown 向下箭头
GameInputLabelArrowDownLLeft 左下箭头
GameInputLabelArrowLeft 左箭头
GameInputLabelArrowUpLeft 左上箭头
GameInputLabelArrowUpDown 上/下箭头
GameInputLabelArrowLeftRight 左右箭头
GameInputLabelArrowUpDownLeftRight 上下左右箭头
GameInputLabelArrowClockwise 顺时针方向箭头
GameInputLabelArrowCounterClockwise 逆时针方向箭头
GameInputLabelArrowReturn Return 箭头
GameInputLabelIconBranding 标记图标
GameInputLabelIconHome 主页图标
GameInputLabelIconMenu 图标菜单
GameInputLabelIconCross 十字形图标
GameInputLabelIconCircle 圆圈图标
GameInputLabelIconSquare 方块图标
GameInputLabelIconTriangle 三角形图标
GameInputLabelIconStar 星形图标
GameInputLabelIconDPadUp 方向键向上图标
GameInputLabelIconDPadDown 方向键向下图标
GameInputLabelIconDPadLeft 方向键向左图标
GameInputLabelIconDPadRight 方向键向右图标
GameInputLabelIconDialClockwise 拨盘顺时针方向图标
GameInputLabelIconDialCounterClockwise 拨盘逆时针方向图标
GameInputLabelIconSliderLeftRight 滑块左右图标
GameInputLabelIconSliderUpDown 滑块上下图标
GameInputLabelIconWheelUpDown 方向盘上下图标
GameInputLabelIconPlus 加号图标
GameInputLabelIconMinus 减号图标
GameInputLabelIconSuspension 停用图标
GameInputLabelHome 主页
GameInputLabelGuide 导航
GameInputLabelMode 模式
GameInputLabelSelect 选择
GameInputLabelMenu 菜单
GameInputLabelView 查看
GameInputLabelBack 后退
GameInputLabelStart 开始
GameInputLabelOptions 选项
GameInputLabelShare 共享
GameInputLabelUp 向上
GameInputLabelDown 向下
GameInputLabelLeft
GameInputLabelRight
GameInputLabelLB 左后退按钮
GameInputLabelLT 左扳机键
GameInputLabelLSB 左摇杆按钮
GameInputLabelL1 向左按钮 1 (PlayStation®)
GameInputLabelL2 向左按钮 2 (PlayStation)
GameInputLabelL3 向左按钮 3 (PlayStation)
GameInputLabelRB 右后退按钮
GameInputLabelRT 右扳机键
GameInputLabelRSB 右摇杆按钮
GameInputLabelR1 向右按钮 1 (Playstation)
GameInputLabelR2 向右按钮 2 (Playstation)
GameInputLabelR3 向右按钮 3 (Playstation)
GameInputLabelP1 玩家 1
GameInputLabelP2 玩家 2
GameInputLabelP3 玩家 3
GameInputLabelP4 玩家 4

“PlayStation”是索尼互动娱乐公司的注册商标或商标。

备注

GameInputLabel 适用于多种设备类型,包括多种类型的游戏板。 GameInputArcadeStickInfo 的成员。 GameInputControllerAxisInfo 的成员。 GameInputControllerButtonInfo 的成员。
GameInputControllerSwitchInfo 的成员。
GameInputFlightStickInfo 的成员。
GameInputGamePadInfo 的成员。
GameInputRacingWheelInfo 的成员。
GameInputTouchSensorInfo 的成员。
GameInputUINavigationInfo 的成员。

要求

头文件:GameInput.h

支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机

另请参阅

输入 API 概述
GameInput
GameInputArcadeStickInfo
GameInputControllerAxisInfo
GameInputControllerButtonInfo
GameInputControllerSwitchInfo
GameInputFlightStickInfo
GameInputGamePadInfo
GameInputRacingWheelInfo
GameInputTouchSensorInfo
GameInputUINavigationInfo