|
|
|
@ -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 {
|
|
|
|
|