From 566352524947dc901ba829ab900db9d3e04a3608 Mon Sep 17 00:00:00 2001 From: Ryan Schenk Date: Wed, 21 Sep 2022 09:22:56 -0400 Subject: [PATCH] Update keymap for v0.18 https://github.com/qmk/qmk_firmware/pull/15286#issuecomment-980776537 --- user/miryoku.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/miryoku.c b/user/miryoku.c index 14a485f..03c20c1 100644 --- a/user/miryoku.c +++ b/user/miryoku.c @@ -153,7 +153,7 @@ uint16_t achordion_timeout_miryoku(uint16_t tap_hold_keycode) { * This is used for sending different keycodes when in "qwerty" mode vs colemak. */ uint16_t default_layer_aware_keycode(uint8_t layer, uint16_t keycode_enabled, uint16_t keycode_disabled) { - return biton32(default_layer_state) == layer ? keycode_enabled : keycode_disabled; + return get_highest_layer(default_layer_state) == layer ? keycode_enabled : keycode_disabled; } #endif