From 1d0b4c8d38794dc019ecb224f2992b4ddfa70839 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 10 Feb 2023 21:10:14 +0000 Subject: Tidy up use of keycode range helpers (#19756) --- keyboards/sirius/unigo66/custom_matrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/sirius') diff --git a/keyboards/sirius/unigo66/custom_matrix.cpp b/keyboards/sirius/unigo66/custom_matrix.cpp index 15b30c8177..07c6df2981 100644 --- a/keyboards/sirius/unigo66/custom_matrix.cpp +++ b/keyboards/sirius/unigo66/custom_matrix.cpp @@ -175,7 +175,7 @@ extern "C" bool matrix_is_on(uint8_t row, uint8_t col) { uint8_t code = CODE(row, col); - if (IS_MOD(code)) { + if (IS_MODIFIER_KEYCODE(code)) { if (local_keyboard_report.mods & ROW_BITS(code)) { return true; } @@ -191,7 +191,7 @@ extern "C" matrix_row_t matrix_get_row(uint8_t row) { uint16_t row_bits = 0; - if (IS_MOD(CODE(row, 0)) && local_keyboard_report.mods) { + if (IS_MODIFIER_KEYCODE(CODE(row, 0)) && local_keyboard_report.mods) { row_bits |= local_keyboard_report.mods; } -- cgit v1.2.3