Test mouse

This commit is contained in:
KiritoDv
2024-12-03 15:47:43 -06:00
parent 779c43c6c1
commit 5455478ceb
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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);
}
}