diff options
Diffstat (limited to 'keyboards/kmac')
-rw-r--r-- | keyboards/kmac/config.h | 5 | ||||
-rw-r--r-- | keyboards/kmac/matrix.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/keyboards/kmac/config.h b/keyboards/kmac/config.h index 5c164bfc17..18eb1de1f9 100644 --- a/keyboards/kmac/config.h +++ b/keyboards/kmac/config.h @@ -93,11 +93,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -/* key combination for magic key command */ -#define IS_COMMAND() ( \ - keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ -) - /* control how magic key switches layers */ //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true diff --git a/keyboards/kmac/matrix.c b/keyboards/kmac/matrix.c index cfafa90e66..82f0621f2b 100644 --- a/keyboards/kmac/matrix.c +++ b/keyboards/kmac/matrix.c @@ -97,7 +97,7 @@ uint8_t matrix_scan(void) inline bool matrix_is_on(uint8_t row, uint8_t col) { - return (matrix[row] & ((matrix_row_t)1<col)); + return (matrix[row] & ((matrix_row_t)1<<col)); } inline |