This commit is contained in:
Stephen Crane 2014-12-17 15:26:16 +00:00
parent c21a5b7edd
commit 728e1e4058
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ void loop() {
if (ps2.available()) { if (ps2.available()) {
unsigned scan = ps2.read2(); unsigned scan = ps2.read2();
byte key = scan & 0xff; byte key = scan & 0xff;
if (scan < 0x100) if (is_down(scan))
io.down(key); io.down(key);
else else
switch (key) { switch (key) {