Custom Macro Editor
← Back to Home
Microcontroller
atmega16u2 (UNO R3)
at90usb1286 (Teensy 2.0++)
atmega32u4 (Arduino Micro/Teensy 2.0)
Macro Name
Letters, numbers, hyphens, underscores only
New
Save
Hide Legend
Saved Macros
No saved macros yet
Loop macro continuously
Download Compiled Firmware
Macro Syntax Guide
Basic Format
inputs,duration
# Example: A button for 5 frames
A,5
Timing
• 1 frame = 8ms (125Hz USB polling)
• 125 frames = 1 second
• Minimum safe: 5 frames (40ms)
Face Buttons
Y
B
A
X
Shoulder Buttons
L
R
ZL
ZR
System Buttons
PLUS
MINUS
HOME
CAPTURE
D-Pad
UP
DOWN
LEFT
RIGHT
UPRIGHT
DOWNRIGHT
DOWNLEFT
UPLEFT
Left Stick
LUP
LDOWN
LLEFT
LRIGHT
LCLICK
L(x,y) where x,y = 0-255
L(128,255) - Up full
Right Stick
RUP
RDOWN
RLEFT
RRIGHT
RCLICK
R(x,y) where x,y = 0-255
R(128,128) - Center
Multiple Inputs
A+B,10
L+R+A,5
LUP+A,20
Wait
WAIT,125 - 1 second wait
Include Macros
@macroname
@macroname,*5 - Repeat 5 times
Complete Example
X,5
WAIT,250
DOWN,5
WAIT,10
A,5
WAIT,125
L(64,200),30