mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Make syscall names closer to libc
This commit is contained in:
parent
1b868adf87
commit
6735b159ac
17 changed files with 103 additions and 79 deletions
|
|
@ -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}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue