Skip to main content

XInputOnGameInput

Microsoft Game Development Kit (GDK) 隨附標頭檔 XInputOnGameInput.h,其中包含以 GameInput 為基礎的 XInput API 實作。建議您直接移植到 GameInput,特別是需要鍵盤和滑鼠或其他輸入裝置時。不過,XInputOnGameInput 包裝函式可用來協助啟動初始的移植工作,而不需要對現有的 XInput 程式碼進行任何變更。

函式

結構

概念文件

另請參閱

輸入 API 參考
Last modified on October 6, 2026