Hello,
after upgrading to the new Kaleidoscope API recently I got different characters when hitting keys bound to macros:
I use a macro to make the c key emit ‘.’ and ‘@’ (shifted). System (Linux) keymap is set to german.
After the upgrade I got Greek_Omega instead of ‘@’ for the shifted key.
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
bool shifted = Keyboard.isModifierActive(Key_LeftShift.keyCode) ||
::OneShot.isModifierActive(Key_LeftShift);switch (macroIndex) {
case MACRO_DOT_AT:
if (shifted) {
return MACRODOWN(D(RightAlt), T(Q), U(RightAlt));
}
else {
return MACRODOWN(T(Period));
}
break;
…
I had to undo the Shift in the macro to get the ‘@’ again:
return MACRODOWN(U(LeftShift), D(RightAlt), T(Q), U(RightAlt));
Is this an intended behavior?
regards, jo