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 and Keyboard.release().
Read this topic, the KEY_NUM_LOCK is possible :

Sorry for my late reply.

KEY_NUM_LOCK = 219 did the trick.