다음을 통해 공유


IGameInputReading::GetDevice(v0)

IGameInputReading과 연결된 장치를 가져옵니다.

구문

void GetDevice(  
         IGameInputDevice** device  
)  

매개 변수

device _Outptr_
형식: IGameInputDevice**

IGameInputReading과 연결된 장치입니다.

반환 값

형식: void

비고

이 메서드를 사용하여 장치 제조 및 해당 기능에 대한 정보를 가져옵니다. 예를 들어 장치의 버튼, 배열 및 축 수를 알아야 할 수 있습니다. IGameInputReading::GetGamepadState와 같이 개발자가 만든 버퍼가 필요한 여러 Get*State 함수에 적합한 크기의 버퍼를 전달할 때는 이 기능이 중요합니다.

요구 사항

헤더: GameInput.h

라이브러리: xgameruntime.lib

지원되는 플랫폼: Windows, Xbox One 패밀리 콘솔 및 Xbox Series 콘솔

참고 항목

입력 API 개요
IGameInputReading
IGameInputReading::GetGamepadState