Reference.KeyboardReleaseAll History
Hide minor edits - Show changes to output
April 27, 2012, at 06:24 PM
by Scott Fitzgerald -
Changed lines 62-64 from:
*[[/Reference/KeyboardWrite | Keyboard.write]]()
to:
*[[/Reference/KeyboardWrite | Keyboard.write]]()
*[[/Reference/KeyboardModifiers | Keyboard Modifiers]]
\\
April 27, 2012, at 04:44 PM
by Scott Fitzgerald -
Changed lines 54-55 from:
to:
!!!!See Also
*[[/Reference/KeyboardBegin | Keyboard.begin]]()
*[[/Reference/KeyboardEnd | Keyboard.end]]()
*[[/Reference/KeyboardPress | Keyboard.press]]()
*[[/Reference/KeyboardPrint | Keyboard.print]]()
*[[/Reference/KeyboardPrintln | Keyboard.println]]()
*[[/Reference/KeyboardRelease | Keyboard.release]]()
*[[/Reference/KeyboardWrite | Keyboard.write]]()
April 16, 2012, at 10:57 AM
by Scott Fitzgerald -
Changed lines 18-20 from:
to:
int : the number of keys released
March 28, 2012, at 03:01 PM
by Scott Fitzgerald -
Changed lines 7-8 from:
to:
Lets go of all keys currently pressed. See [[/Reference/KeyboardPress | Keyboard.press]]() for additional information.
Changed lines 18-53 from:
to:
None
!!!!Example
(:source lang=arduino:)
// use this option for OSX:
char ctrlKey = KEY_LEFT_GUI;
// use this option for Windows and Linux:
// char ctrlKey = KEY_LEFT_CTRL;
void setup() {
// make pin 2 an input and turn on the
// pullup resistor so it goes high unless
// connected to ground:
pinMode(2, INPUT_PULLUP);
// initialize control over the keyboard:
Keyboard.begin();
}
void loop() {
while (digitalRead(2) == HIGH) {
// do nothing until pin 2 goes low
delay(500);
}
delay(1000);
// new document:
Keyboard.press(ctrlKey);
Keyboard.press('n');
delay(100);
Keyboard.releaseAll();
// wait for new window to open:
delay(1000);
}
(:sourceend:)
Added line 55:
March 16, 2012, at 04:46 PM
by Scott Fitzgerald -
Changed lines 3-4 from:
to:
Changed lines 7-8 from:
to:
Changed lines 10-11 from:
to:
March 16, 2012, at 04:46 PM
by Scott Fitzgerald -
Changed lines 7-8 from:
to:
March 16, 2012, at 04:45 PM
by Scott Fitzgerald -
Added lines 1-19:
[[Reference/MouseKeyboard | Keyboard]]
!!Keyboard.ReleaseAll()
!!!!Description
!!!!Syntax
Keyboard.ReleaseAll()\\
!!!!Parameters
None
!!!!Returns
None\\
\\