forked from forks/qmk_firmware
Made the layer that is used for calculations a define so that it can be changed per keyboard
This commit is contained in:
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…
Reference in a new issue