Arduino Micro as an USB Keyboard

Hi all,

I am trying to program the Arduino Micro to send keystrokes via keyboard.write
to my PC. So far this works as expected when using characters.
When using the code for KEY_CAPS_LOCK it toggles the current setting.
Now I want to toggle the setting of the NUM LOCK key
but couldn't find a corresponding keyboard modifier for this function.
Is there one at all or is this not possible?

Hi, welcome to the forum.

The special keys are done with Keyboard.press() and Keyboard.release().
Read this topic, the KEY_NUM_LOCK is possible : http://forum.arduino.cc/index.php?topic=266688.0

Sorry for my late reply.

KEY_NUM_LOCK = 219 did the trick.

Pye