Leonardo - Scroll Lock

Is there a simple way to use the Scroll Lock from Leonardo?



Keyboard Scroll Lock (11): 71 (0x46) Keyboard Locking Scroll Lock (12): 132 (0x84)

(11) Implemented as a non-locking key; sent as member of an array. (12) Implemented as a locking key; sent as a toggle button. Available for legacy support; however, most systems should use the non-locking version of this key.

To send a raw key code via the Arduino Keyboard.press() and Keyboard.release() you add 136 to the code. Try Keyboard.press(71+136) or Keyboard.press(132+136).

thanks works great