Make syscall names closer to libc

This commit is contained in:
Toby Jaffey 2025-12-08 16:28:00 +00:00
parent 1b868adf87
commit 6735b159ac
17 changed files with 103 additions and 79 deletions

View file

@ -18,7 +18,7 @@ export fn main() void {
while(gameRunning) {
const now = uvm.millis();
if (uvm.getch()) |key| {
if (uvm.getc()) |key| {
switch(key) {
' ' => nextEvent = mibu.events.Event{.key = .{.code = .{.char = ' '}}},
'a' => nextEvent = mibu.events.Event{.key = .{.code = .left}},