MCPcopy
hub / github.com/arduino/Arduino / ctrlShift

Method ctrlShift

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

Creates a KeyCode for the "menu shortcut" + shift + 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

(int keyCode)

Source from the content-addressed store, hash-verified

216 * but this does not work for all characters, so is not recommended).
217 */
218 public static KeyStroke ctrlShift(int keyCode) {
219 return KeyStroke.getKeyStroke(keyCode, CTRL | InputEvent.SHIFT_MASK);
220 }
221
222 /**
223 * Creates a KeyCode for the "menu shortcut" + alt + the key passed in. By

Callers 4

EditorMethod · 0.95
ActionsClass · 0.95
ActionsMethod · 0.95
addNotifyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected