6 ms·
Ever since I got to know and love the emacs macro feature (record a sequence of commands, and replay it at a keypress), I've wanted to have this same superpower
by escherize 11y ago
Ever since I got to know and love the emacs macro feature (record a
sequence of commands, and replay it at a keypress), I've wanted to
have this same superpower at the hardware level. I'm making a keypad
out of arcade buttons [1], an old box, and a teensy [2]. I excpect
I'll have to write the record/playback code by myself (it's not too
bad, there's an arduino / c-like language), but has anyone heard of
such a thing?
edit - Great! Looks like this keyboard has a macro ability built into it, only it's called "keylogger". Now to find the source code...
[1] - http://www.aliexpress.com/store/product/20pcs-lot-35mm-Arcade-Game-Machine-Push-Button-with-Micro-Switch-28mm-Mounting-Hole-Buttons/1192868_1871265879.html http://www.aliexpress.com/store/product/20pcs-lot-35mm-Arcad...
[2] - https://www.pjrc.com/store/teensy.html https://www.pjrc.com/store/teensy.html
- gozo 11y agoThis board is based on a PIC. The teensy is a AVR (and later ARM). You want to look here instead: https://www.reddit.com/r/MechanicalKeyboards/wiki/firmware https://www.reddit.com/r/MechanicalKeyboards/wiki/firmware
- swah 11y agoThat would be pretty cool if replayed keys blinked "in real time".
- masaleiro 11y agoHi! Project author here. The keyboard has both the macro functions (from F1 to F12) and the keylogger. Since it's completely open source / open hardware you can disable the keylogger in the firmware if you don't like it. I personally don't use it. No one uses the keyboard except me and I'm not going to log my own stuff :) . Just put it there to show that it is possible to do it. Regarding the source code, it's available in my github: https://github.com/masaleiro/HacKeyboard https://github.com/masaleiro/HacKeyboard