Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Hardware Device #32

Open
alexander-bauer opened this issue May 24, 2012 · 1 comment
Open

Keyboard Hardware Device #32

alexander-bauer opened this issue May 24, 2012 · 1 comment

Comments

@alexander-bauer
Copy link

The keyboard seems to be unresponsive to hardware interrupts, or at least fails to accept keypresses properly. The code I'm running is

SET A, 1
HWI 2

Even if this is run in a loop, C is never set to a nonzero value. Is my code incorrect, or is this a bug?

@a1k0n
Copy link

a1k0n commented Jun 30, 2012

On the current site, it accepts arrow keys but basically nothing else. Because the onkeydown handler always returns false, presumably to prevent typing keys into the code editor while the program is running. But instead of doing that, the run button should un-focus the code editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants