Hey. I got myself an Ergodox EZ and I started creating some macros.
I found writing the C code to do this to be cumbersome.
I do a lot of bash automation so I figured I would make something that created the C statements for me.
Not all statements come out correctly but the ones that do not are the easy ones to fix. The main focus was that the return MACRO() code was created correctly. I realize how I generate the ups and downs of the shift key are not ideal and I will probably optimize it later.
This will generally make your macro creation process super simple.
So I present to you
newmacro.sh