mirror of
https://github.com/badvision/jace.git
synced 2024-11-28 10:52:33 +00:00
Mapped in open/closed apple keys
This commit is contained in:
parent
e643eb0bdf
commit
f65dee7c00
@ -189,6 +189,13 @@ public class Keyboard implements Reconfigurable {
|
||||
case BACK_SPACE:
|
||||
c = 127;
|
||||
break;
|
||||
case ALT:
|
||||
pressOpenApple();
|
||||
break;
|
||||
case META:
|
||||
case COMMAND:
|
||||
pressSolidApple();
|
||||
break;
|
||||
default:
|
||||
}
|
||||
|
||||
@ -251,6 +258,14 @@ public class Keyboard implements Reconfigurable {
|
||||
}
|
||||
computer.resume();
|
||||
break;
|
||||
case ALT:
|
||||
releaseOpenApple();
|
||||
break;
|
||||
case META:
|
||||
case COMMAND:
|
||||
releaseSolidApple();
|
||||
break;
|
||||
|
||||
}
|
||||
// if ((e.getModifiers() & (KeyEvent.ALT_MASK | KeyEvent.META_MASK | KeyEvent.META_DOWN_MASK)) > 0) {
|
||||
// // explicit left and right here because other locations
|
||||
|
Loading…
Reference in New Issue
Block a user