mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-08 22:45:12 -04:00
Test mouse
This commit is contained in:
+1
-1
Submodule libultraship updated: 80c2c5e9c6...d6a9e1f581
@@ -173,6 +173,9 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
|
||||
if (wnd != nullptr) {
|
||||
wnd->SetTargetFps(CVarGetInteger("gInterpolationFPS", 30));
|
||||
wnd->SetMaximumFrameLatency(1);
|
||||
auto pos = wnd->GetMousePos();
|
||||
|
||||
SPDLOG_INFO("Mouse X: {} - Y: {}", pos.x, pos.y);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user