]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - matrix_skel.h
revise Fn key processing.
[max/tmk_keyboard.git] / matrix_skel.h
index 3086bded743efbc04a38414951295f1cd84e6d95..59c4eca11aad6b56abf67d0bcdd92f90cadfd0ea 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef MATRIX_SKEL_H
-#define  MATRIX_SKEL_H 1
+#define MATRIX_SKEL_H 1
 
 #include <stdbool.h>
 
@@ -15,6 +15,8 @@ int  matrix_scan(void);
 bool matrix_is_modified(void);
 /* whether ghosting occur on matrix. */
 bool matrix_has_ghost(void);
+/* whether a swtich is on */
+bool matrix_is_on(int row, int col);
 /* matrix state on row */
 uint16_t matrix_get_row(int row);
 /* count keys pressed */