Made the layer that is used for calculations a define so that it can be changed per keyboard

pull/2864/head
Ajax 7 years ago
parent 37d53113e6
commit 40fdf4066a

@ -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
/*-----

Loading…
Cancel
Save