X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=matrix_skel.h;h=5a02f207b713feea3b1cb6c65d7ccae6b072370e;hb=2f80e790c6310ad24a4cb3d4a72c31314364fef7;hp=3086bded743efbc04a38414951295f1cd84e6d95;hpb=7a336b05ec2d1056fe2206ae218199c66e8980da;p=max%2Ftmk_keyboard.git diff --git a/matrix_skel.h b/matrix_skel.h index 3086bded..5a02f207 100644 --- a/matrix_skel.h +++ b/matrix_skel.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 */