X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/6a5fa4e03967ab980cdc7ef96a42400bc29b4414..e049e4ba47308629d2233fdd3f85d49352463d9c:/src/sim/w_keys.c diff --git a/src/sim/w_keys.c b/src/sim/w_keys.c index 64c5105..3e448f7 100644 --- a/src/sim/w_keys.c +++ b/src/sim/w_keys.c @@ -79,7 +79,8 @@ static char LastKeys[5]; */ -ResetLastKeys() +void +ResetLastKeys(void) { LastKeys[0] = ' '; LastKeys[1] = ' '; @@ -91,6 +92,7 @@ ResetLastKeys() /* comefrom: processEvent */ +void doKeyDown(SimView *view, short charCode) { LastKeys[0] = LastKeys[1]; @@ -291,6 +293,7 @@ doKeyDown(SimView *view, short charCode) /* comefrom: processEvent */ +void doKeyUp(SimView *view, short charCode) { switch(charCode) {