forked from mirror/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:
@@ -293,7 +293,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record)
|
|||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(biton32(layer_state) == 2)
|
if(biton32(layer_state) == CALC_LAYER)
|
||||||
{
|
{
|
||||||
char characterPressed = '\0';
|
char characterPressed = '\0';
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
|
#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
|
||||||
|
|
||||||
|
#define CALC_LAYER 2
|
||||||
|
|
||||||
#define BUFFER_SIZE 32
|
#define BUFFER_SIZE 32
|
||||||
|
|
||||||
/*-----
|
/*-----
|
||||||
|
|||||||
Reference in New Issue
Block a user