GameInputKeyboardInfo
描述鍵盤的屬性。語法
成員
kind類型:GameInputKeyboardKind 依鍵盤類型區分的鍵盤配置。 layout
類型:uint32_t 依國家/地區和語言區分的鍵盤配置。此參數包含的鍵盤配置識別碼值與 GetKeyboardLayoutName 函式所提供的值相同,但以 32 位元整數而非字串表示。 keyCount
類型:uint32_t 鍵盤上的按鍵數目。 functionKeyCount
類型:uint32_t 鍵盤上的功能鍵數目。 maxSimultaneousKeys
類型:uint32_t 可登錄的同時按鍵輸入數目上限。 platformType
類型:uint32_t 鍵盤平台類型。 platformSubtype
類型:uint32_t 鍵盤平台子類型。
備註
此結構用於 GameInputDeviceInfo 結構中。GameInputDeviceInfo 由 IGameInputDevice::GetDeviceInfo 方法使用。
如需詳細資訊,請參閱 GameInput 裝置。
需求
標頭: GameInput.h 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
GameInput 概觀GameInput
