mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2025-01-02 23:31:53 +00:00
fix correct way of reading keyboard
This commit is contained in:
parent
4c87d1f47a
commit
c64d985364
2
apple1.h
2
apple1.h
@ -55,7 +55,7 @@ void woz_mon() {
|
|||||||
// returns nonzero if a key has been pressed
|
// returns nonzero if a key has been pressed
|
||||||
inline byte keypressed() {
|
inline byte keypressed() {
|
||||||
#ifdef APPLE1
|
#ifdef APPLE1
|
||||||
return PEEK(KEY_DATA) & 0x80;
|
return PEEK(KEY_CTRL) & 0x80;
|
||||||
#else
|
#else
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user