GameInputMouseInfo
描述滑鼠的屬性。語法
成員
supportedButtons類型:GameInputMouseButtons 滑鼠支援的按鈕。 sampleRate
類型:uint32_t 每秒取樣滑鼠移動的次數。 hasWheelX
類型:bool 表示滑鼠是否有 X 軸的滾輪。 hasWheelY
類型:bool 表示滑鼠是否有 Y 軸的滾輪。
備註
此結構用於 GameInputDeviceInfo 結構中。GameInputDeviceInfo 由 IGameInputDevice::GetDeviceInfo 方法使用。
如需詳細資訊,請參閱 GameInput 裝置。
需求
標頭: GameInput.h 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
GameInput 概觀GameInput
