[cc65-devel] Keyboard and joystick reading problem
cc65 - a freeware C compiler for 6502 based systems
Brought to you by:
gpz
|
From: Janne P. <jan...@su...> - 2016-06-16 05:02:55
|
Hello, I have a Commodore Plus/4 program where I need to react to key presses while reading a joystick. Is it possible? I can read the keyboard with kbhit() and cgetc() functions but as soon as I call read_joy() function to read the joystick status, the keyboard reading part stops to work: I receive multiple key presses and wrong characters. The read_joy() function returns valid status information, except it doesn't register fire button. -- Janne Peräaho |