(boolean pressed)
| 304 | |
| 305 | public static boolean isOpenApplePressed = false; |
| 306 | @InvokableAction(name = "Open Apple Key", alternatives = "OA", category = "Keyboard", notifyOnRelease = true, defaultKeyMapping = "Alt", consumeKeyEvent = false) |
| 307 | public void openApple(boolean pressed) { |
| 308 | isOpenApplePressed = pressed; |
| 309 | SoftSwitches.PB0.getSwitch().setState(pressed); |
| 310 | } |
| 311 | |
| 312 | public static boolean isClosedApplePressed = false; |
| 313 | @InvokableAction(name = "Closed Apple Key", alternatives = "CA", category = "Keyboard", notifyOnRelease = true, defaultKeyMapping = {"Shortcut","Meta","Command"}, consumeKeyEvent = false) |
no test coverage detected