Ever since I got to know and love the emacs macro feature (record a
sequence of commands, and replay it at a keypress), I&#x27;ve wanted to
have this same superpower at the hardware level. I&#x27;m making a keypad
out of arcade buttons [1], an old box, and a teensy [2]. I excpect
I&#x27;ll have to write the record&#x2F;playback code by myself (it&#x27;s not too
bad, there&#x27;s an arduino &#x2F; c-like language), but has anyone heard of
such a thing?<p>edit - Great! Looks like this keyboard has a macro ability built into it, only it&#x27;s called &quot;keylogger&quot;.  Now to find the source code...<p>[1] - <a href="http:&#x2F;&#x2F;www.aliexpress.com&#x2F;store&#x2F;product&#x2F;20pcs-lot-35mm-Arcade-Game-Machine-Push-Button-with-Micro-Switch-28mm-Mounting-Hole-Buttons&#x2F;1192868_1871265879.html" rel="nofollow">http:&#x2F;&#x2F;www.aliexpress.com&#x2F;store&#x2F;product&#x2F;20pcs-lot-35mm-Arcad...</a><p>[2] - <a href="https:&#x2F;&#x2F;www.pjrc.com&#x2F;store&#x2F;teensy.html" rel="nofollow">https:&#x2F;&#x2F;www.pjrc.com&#x2F;store&#x2F;teensy.html</a>