MCPcopy Index your code
hub / github.com/arduino/Arduino / ctrlAlt

Method ctrlAlt

app/src/processing/app/helpers/Keys.java:230–232  ·  view source on GitHub ↗

Creates a KeyCode for the "menu shortcut" + alt + the key passed in. By default, the menu shortcut is the ctrl key (hence the method name), but platforms might use a different key (like the Apple key on OSX). keyCode should be a KeyEvent.VK_ constant (it can also be a char constant, but this does n

(int keyCode)

Source from the content-addressed store, hash-verified

228 * but this does not work for all characters, so is not recommended).
229 */
230 public static KeyStroke ctrlAlt(int keyCode) {
231 return KeyStroke.getKeyStroke(keyCode, CTRL | InputEvent.ALT_MASK);
232 }
233}

Callers 2

ActionsClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected