語法
參數
此方法沒有參數。傳回值
類型:uint32_t 裝置所定義的輸入報告數目;如果裝置沒有輸入報告或未公開原始報告,則為 0。備註
輸入報告是裝置傳送給系統的原始報告。當 GetSupportedInput 傳回的值包含GameInputKindRawDeviceReport 時,來自裝置的讀數會攜帶原始輸入報告,您可以呼叫 IGameInputReading::GetRawReport 加以擷取。
使用傳回的值來決定您傳遞給 GetInputReportInfo 之陣列的大小。在裝置連線期間,輸入報告數目不會變更。
在 GameInput v3 及更早版本中,此資訊可從 IGameInputDevice::GetDeviceInfo 所傳回 GameInputDeviceInfo 結構的 inputReportCount 成員取得。
需求
標頭: GameInput.h 程式庫: gameinput.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
GameInput 概觀GetInputReportInfo
GameInputRawDeviceReportInfo
IGameInputRawDeviceReport
IGameInputReading::GetRawReport
GameInput 進階主題
IGameInputDevice
