Make default layer size 16-bit (#15286)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
This commit is contained in:
@@ -275,7 +275,7 @@ bool numpadActive = false;
|
||||
float tone_numpad_on[][2] = SONG(NUMPAD_ON_SOUND);
|
||||
|
||||
void matrix_scan_user (void) {
|
||||
uint8_t layer = biton32(layer_state);
|
||||
uint8_t layer = get_highest_layer(layer_state);
|
||||
|
||||
switch (layer) {
|
||||
case _NUMPAD:
|
||||
|
@@ -367,7 +367,7 @@ bool dip_switch_update_user(uint8_t index, bool active) {
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
// if(rgblight_get_mode() == 1) {
|
||||
switch (biton32(state)) {
|
||||
switch (get_highest_layer(state)) {
|
||||
case _QWERTY:
|
||||
if(bnumlock) {
|
||||
tap_code(KC_NLCK);
|
||||
|
Reference in New Issue
Block a user