마우스의 속성에 대해 설명합니다.
구문
struct GameInputMouseInfo
{
GameInputMouseButtons supportedButtons;
uint32_t sampleRate;
bool hasWheelX;
bool hasWheelY;
};
멤버
supportedButtons 형식: GameInputMouseButtons
마우스가 지원하는 단추입니다.
sampleRate 형식: uint32_t
초당 마우스 움직임을 샘플링하는 횟수입니다.
hasWheelX 형식: bool
마우스에 X축에 대한 스크롤 휠이 있는지 여부를 나타냅니다.
hasWheelY 형식: bool
마우스에 Y축에 대한 스크롤 휠이 있는지 여부를 나타냅니다.
비고
이 구조는 GameInputDeviceInfo 구조에서 사용됩니다.
GameInputDeviceInfo은(는) IGameInputDevice::GetDeviceInfo 메서드에서 사용 됩니다.
자세한 내용은 GameInput 장치를 참조하세요.
요구 사항
헤더: GameInput.h
지원되는 플랫폼: Windows