@ -293,7 +293,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record)
send_keyboard_report();
}
if(biton32(layer_state) == 2)
if(biton32(layer_state) == CALC_LAYER)
{
char characterPressed = '\0';
@ -8,6 +8,8 @@
#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
#define CALC_LAYER 2
#define BUFFER_SIZE 32
/*-----