mirror of
https://github.com/badvision/jace.git
synced 2024-11-30 23:49:52 +00:00
Fix for control keys on Windows 8.1 (thanks again, Jason Scott!)
This commit is contained in:
parent
959a496e59
commit
3fa800d791
@ -245,6 +245,9 @@ public class Keyboard implements Reconfigurable {
|
|||||||
c = fixShiftedChar(c);
|
c = fixShiftedChar(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (e.isControlDown()) {
|
||||||
|
c = (char) (c & 0x01f);
|
||||||
|
}
|
||||||
|
|
||||||
if (c < 128) {
|
if (c < 128) {
|
||||||
pressKey((byte) c);
|
pressKey((byte) c);
|
||||||
@ -276,6 +279,7 @@ public class Keyboard implements Reconfigurable {
|
|||||||
case ',': return '<';
|
case ',': return '<';
|
||||||
case '.': return '>';
|
case '.': return '>';
|
||||||
case '/': return '?';
|
case '/': return '?';
|
||||||
|
case '`': return '~';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
|
Loading…
Reference in New Issue
Block a user