feat: reimplement absolute mouse input on SDL

This commit is contained in:
Tropical
2026-03-10 21:14:19 -05:00
parent cf3defee35
commit 8ae9e62be3
3 changed files with 13 additions and 5 deletions

View File

@@ -121,8 +121,6 @@ void Screen::updateEvents()
bool leftState = InputManager.ButtonDown(0, MINECRAFT_ACTION_ACTION);
bool rightState = InputManager.ButtonDown(0, MINECRAFT_ACTION_USE);
printf("%d, %d\n", leftState, rightState);
if (leftState && !prevLeftState) {
mouseClicked(xMouse, yMouse, 0);
}