-/* whether modified from previous scan. used after matrix_scan. */
-bool matrix_is_modified()
-{
- return is_modified;
-}
-
-/* whether a switch is on */
-inline
-bool matrix_is_on(uint8_t row, uint8_t col)
-{
- return (matrix[row] & (1<<col));
-}
-