Alternatively, make sure you read our ultimate keyboard shortcut guide, how to create Windows shortcuts, and every Chromebook shortcut to get started making your own shortcuts. The keyboard functions enable 32u4 or SAMD micro based boards to send keystrokes to an attached computer through their micros native USB port. You could map this to existing shortcuts, such as Alt + F4 (close program in Windows) or Cmd + Q (quit program macOS). Now all that's left is to create some shortcuts. Next step we are going to connect the bluetooth module. Downlad the Ps2Keyboard and import to the new sketch. These are particularly useful for pressing keyboard shortcuts. from the keyboard and their connections to arduino Digital pins are as follows. In addition to all the number and letter keys, the Arduino can press most of the special keys called Keyboard Modifiers. put your main code here, to run repeatedly: put your setup code here, to run once: For more information about this library please. Upload this test code (don't forget to select the correct board and port from the Tools > Board and Tools > Port menus): const int buttons = This library allows an Arduino board with USB capabilities to act as a keyboard. It's a good idea to do this before proceeding, so you can fix any issues now whilst you can.