MCPcopy Create free account
hub / github.com/badvision/jace / solidApple

Method solidApple

src/main/java/jace/core/Keyboard.java:313–317  ·  view source on GitHub ↗
(boolean pressed)

Source from the content-addressed store, hash-verified

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)
314 public void solidApple(boolean pressed) {
315 isClosedApplePressed = pressed;
316 SoftSwitches.PB1.getSwitch().setState(pressed);
317 }
318
319 public static void pasteFromString(String text) {
320 text = text.replaceAll("\\r?\\n|\\r", (char) 0x0d + "");

Callers 2

resetStateMethod · 0.95
initMethod · 0.80

Calls 2

getSwitchMethod · 0.80
setStateMethod · 0.45

Tested by

no test coverage detected