Move the mouse cursor.
Click, press, release - click on the mouse.
Click, press, release - a button on the keyboard.
Click, press, release - modifier on the keyboard.
Release all buttons.
!!! Press reset before downloading the program to the Leonardo board !!!
Sample program:
Download example: file.ardublock | Open Online ArduBlock
Video: