Hello!
I’ve been using my keyboardio model 01 daily, and I love it.
Lately I wanted to flash the firmware to test the “new” led layout editor… when I flashed it all my macros that I made through Arduino IDE do not work anymore.
This is my layout.
And this is the last arduino file I have saved back when I created the macros and used to work.
All the highlighted keys do not work anymore, even the keycode that I had to pop the calculator.
enum { MACRO_VERSION_INFO, MACRO_ANY, MACRO_NEWT, MACRO_CLOSET, MACRO_REOPENT, MACRO_PREVT, MACRO_NEXTT, MACRO_ALTTAB };
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
switch (macroIndex) {case MACRO_VERSION_INFO: versionInfoMacro(keyState); break; case MACRO_ANY: anyKeyMacro(keyState); break; case MACRO_NEWT: return MACRODOWN(D(LeftControl), T(T), U(LeftControl) ); break; case MACRO_CLOSET: return MACRODOWN(D(LeftControl), T(W), U(LeftControl) ); break; case MACRO_REOPENT: return MACRODOWN(D(LeftControl), D(LeftShift), T(T), U(LeftShift), U(LeftControl) ); break; case MACRO_PREVT: return MACRODOWN(D(LeftControl), D(LeftShift), T(Tab), U(LeftShift), U(LeftControl) ); break; case MACRO_NEXTT: return MACRODOWN(D(LeftControl), T(Tab), U(LeftControl) ); break; case MACRO_ALTTAB: return MACRODOWN(D(LeftAlt), T(Tab), U(LeftAlt) ); break;
}
return MACRO_NONE;
}
[FUNCTION] = KEYMAP_STACKED
(___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_CapsLock,
Key_Tab, ___, Key_mouseUp, ___, Key_mouseBtnR, Key_mouseWarpEnd, Key_mouseWarpNE,
Key_Home, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseBtnL, Key_mouseWarpNW,
Key_End, M(MACRO_NEWT), M(MACRO_CLOSET), M(MACRO_REOPENT), M(MACRO_NEXTT), M(MACRO_PREVT), Key_mouseWarpSE,
___, Key_Delete, ___, ___,
___,
I do remember tweaking some more stuff on the chrysalis, like the default layer, not sure if that can be related.
I think I used to make it work by first flashing from arduino so I had the macros, and then from chrysalis to tweak the layout more easily (but I’m talking from memory so I could be wrong)
Do you guys see what could be the issue? How can I make my macros work again while keeping the led layout?
Anyhow… is there an easier way to modify macros through chrysalis instead of having to go into arduino IDE?