IGameInputReading::GetDevice
IGameInputReading과 연결된 장치를 가져옵니다.구문
매개변수
device _Outptr_형식: IGameInputDevice** IGameInputReading과 연결된 장치입니다.
반환값
형식: void설명
이 메서드를 사용하여 장치의 제조사와 기능에 대한 정보를 얻을 수 있습니다. 예를 들어 장치의 버튼, 배열 및 축의 개수를 알아야 할 수 있습니다. 이는 IGameInputReading::GetGamepadState와 같이 개발자가 만든 버퍼가 필요한 많은 Get*State 함수에 적절한 크기의 버퍼를 전달해야 할 때 중요합니다.요구 사항
헤더: GameInput.h Input API 개요IGameInputReading
IGameInputReading::GetGamepadState
