diff --git a/src/addr.h b/src/addr.h index 156ce8e8..24e8054a 100644 --- a/src/addr.h +++ b/src/addr.h @@ -34,5 +34,11 @@ inline uint8_t col(uint8_t key_addr) { inline uint8_t addr(uint8_t row, uint8_t col) { return ((row * COLS) + col); } +inline void mask(uint8_t key_addr) { + KeyboardHardware.maskKey(row(key_addr), col(key_addr)); +} +inline void unmask(uint8_t key_addr) { + KeyboardHardware.maskKey(row(key_addr), col(key_addr)); +} } // namespace addr { } // namespace kaleidoscope {