Added mask() & unmask() functions

pull/389/head
Michael Richters 7 years ago
parent 2db772aeca
commit f2dc52ba0b

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

Loading…
Cancel
Save