The menu part of the space key now only triggers on the base layer

This commit is contained in:
Drew Whitney 2025-12-21 22:44:10 -07:00
commit 1b691104fc

View file

@ -170,7 +170,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t* record) {
case KC_SPC:
// have to implement this here instead of as a key override because it was acting
// weird with layers as a key override
if (get_highest_layer(layer_state) == _GAME) {
if (get_highest_layer(layer_state) != _BASE) {
return true; // return early
}
if (record->event.pressed) {