Open sro5h opened 6 years ago
I tried to create a raw InputDeviceMouse with:
InputDeviceMouse
gainput::InputManager manager; const auto id = manager.CreateDevice<gainput::InputDeviceMouse>(gainput::InputDevice::DV_RAW); gainput::InputMap map(manager); map.MapFloat(MouseX, id, gainput::MouseAxisX);
But both map.GetFloat(MouseX) and map.GetFloatDelta(MouseX) always return 0.
map.GetFloat(MouseX)
map.GetFloatDelta(MouseX)
I tried to create a raw
InputDeviceMouse
with:But both
map.GetFloat(MouseX)
andmap.GetFloatDelta(MouseX)
always return 0.