This commit is contained in:
agra
2026-03-04 17:17:29 +02:00
parent 343ea4bf08
commit 0782353ffa
12 changed files with 1288 additions and 131 deletions

View File

@@ -57,7 +57,6 @@ translate_sdl_event :: (sdl: *SDL_Event) -> Event {
});
}
case .mouse_button_down: (data) {
print(" mouse_down raw: x={} y={} btn={}\n", data.x, data.y, data.button);
btn :MouseButton = if data.button == {
case 1: .left;
case 2: .middle;