構文
パラメーター
このメソッドにはパラメーターがありません。戻り値
型: GameInputSystemButtonsGameInputSystemButtonGuide や GameInputSystemButtonShare など、デバイス上のシステム ボタンを表す GameInputSystemButtons フラグの組み合わせ。デバイスにシステム ボタンがない場合は GameInputSystemButtonNone を返します。
解説
システム ボタンは、XBOX コントローラーのガイド ボタンのように、ゲームではなくシステムの制御によく使用されるボタンです。GameInput v4 では、システム ボタンは通常の種類の入力 (GameInputKindSystemButton) です。システム ボタンを備えたデバイスからの読み取りにはその状態が含まれ、IGameInputReading::GetSystemButtonState を呼び出して取得できます。
サポートされるシステム ボタンのセットは、デバイス オブジェクトの有効期間中は変化しません。
GameInput v3 以前では、この情報は IGameInputDevice::GetDeviceInfo から返される GameInputDeviceInfo 構造体の supportedSystemButtons メンバーから取得できました。
要件
ヘッダー: GameInput.h ライブラリ: gameinput.lib サポートされているプラットフォーム: Windows、XBOX One ファミリー本体、XBOX Series 本体関連項目
GameInput の概要IGameInputDevice
GameInputSystemButtons
IGameInputReading::GetSystemButtonState
