GameInputFeedbackAxes

枚举输入设备上提供的力回馈马达的方向类型。

语法

typedef enum GameInputFeedbackAxes  
{  
    GameInputFeedbackAxisNone = 0x00000000,  
    GameInputFeedbackAxisLinearX = 0x00000001,  
    GameInputFeedbackAxisLinearY = 0x00000002,  
    GameInputFeedbackAxisLinearZ = 0x00000004,  
    GameInputFeedbackAxisAngularX = 0x00000008,  
    GameInputFeedbackAxisAngularY = 0x00000010,  
    GameInputFeedbackAxisAngularZ = 0x00000020,  
    GameInputFeedbackAxisNormal = 0x00000040  
} GameInputFeedbackAxes  

常量

常量 说明
GameInputFeedbackAxisNone 表示缺少回馈轴
GameInputFeedbackAxisLinearX 表示 X 方向的线性回馈马达。
GameInputFeedbackAxisLinearY 表示 Y 方向的线性回馈马达。
GameInputFeedbackAxisLinearZ 表示 Z 方向的线性回馈马达。
GameInputFeedbackAxisAngularX 表示围绕 X 轴的角度回馈马达。
GameInputFeedbackAxisAngularY 表示围绕 Y 轴的角度回馈马达。
GameInputFeedbackAxisAngularZ 表示围绕 Z 轴的角度回馈马达。
GameInputFeedbackAxisNormal 表示无维度的回馈马达。

备注

力回馈通常仅在赛车方向盘上找到,有一个单轴马达连接到方向盘本身。 但是,GameInput API 支持具有任意数量的力回馈马达的设备,并向设备上的每个马达分配唯一的索引编号。 “标准”轴用于施加的力是无维度的特殊情况,例如适合飞行模拟器的压力。
GameInputForceFeedbackMotorInfo 的成员。

要求

头文件:GameInput.h

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

另请参阅

输入 API 概述
GameInput
GameInputForceFeedbackMotorInfo