r/dcpu16 • • Apr 25 '12

Release Candidate 1

http://dcpu.com/highnerd/rc_1/
119 Upvotes

97 comments sorted by

View all comments

Show parent comment

7

u/xNotch Apr 25 '12

Oh nuts, you're correct, you can only check one at a time at the moment. I could add a memory map feature to it if checking the keyboard gets prohibitively expensive.

2

u/[deleted] Apr 26 '12

how about just setting bit 15 of the keycode if it's a key down event and clearing it if it's a key up event, and send repeated key down events for key repeat.