mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-10 12:35:24 -04:00
Test mouse
This commit is contained in:
@@ -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