Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 11 months ago.
USBKeyboard - press and release functions?
Is there any way to use functions similar to teensy's Keyboard.press() and Keyboard.release() with the USBKeyboard class from the USBDevice library?
2 Answers
6 years, 11 months ago.
Hi Luke,
If you are referring to this library - https://os.mbed.com/handbook/USBKeyboard - then according to this document a similar function to keyboard.press()
would be keyboard.keyCode(KEY_CAPS_LOCK);
or some variation.
Please let me know if you have questions!
- Jenny