Fixed ctrl sending key events by itself to the emulator. This fixes the ctrl-c issue reported by Michael as well.

This commit is contained in:
Brendan Robert 2016-01-13 22:25:14 -06:00
parent 8064a804eb
commit b9fcc6d82d

View File

@ -253,6 +253,10 @@ public class Keyboard implements Reconfigurable {
} }
if (e.isControlDown()) { if (e.isControlDown()) {
if (c == 255) {
return;
}
System.out.println("Ctrl: "+(c&0x01f));
c = (char) (c & 0x01f); c = (char) (c & 0x01f);
} }