79362652

Date: 2025-01-16 18:09:28
Score: 1.5
Natty:
Report link

To send an 8-bit keycode (which includes multimedia keys), you need to add the modifier. E.g. KEY_MUTE is defined as 0x7F, but the library always clears the 8th bit unless the key is Shifted. So, use:

​DigiKeyboard.sendKeyStroke(KEY_MUTE, MOD_SHIFT_LEFT).​
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Richard