mirror of
https://github.com/badvision/jace.git
synced 2024-12-28 11:31:50 +00:00
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:
parent
8064a804eb
commit
b9fcc6d82d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user