Request: add Keyboard.releaseAll() for Teensy 3.0

crlab

Member
Teensyduino 1.15 does not support "Keyboard.releaseAll()" for the Teensy 3, even though it is supported for the Teensy 2 and Leonardo:
http://arduino.cc/en/Reference/KeyboardPress
The obvious work around is to use Keyboard.release(), but it is convenient to have a single command that releases all currently pressed keys.
 
I've added it. Here are the files. Please let me know if this works for you?
 

Attachments

  • usb_keyboard.c
    12.2 KB · Views: 223
  • usb_keyboard.h
    3.5 KB · Views: 140
Back
Top