X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fmatrix.h;h=d1d14a6ead8595609accf32f608643b1194e2585;hb=cb33e78126c6a9154c747ebfb1a635716b9183e5;hp=48203c71dcd26771e0489d39993754f47d1dd02c;hpb=9e9a85c1426650148d0d83c900e432003ff174fb;p=max%2Ftmk_keyboard.git diff --git a/common/matrix.h b/common/matrix.h index 48203c71..d1d14a6e 100644 --- a/common/matrix.h +++ b/common/matrix.h @@ -44,13 +44,11 @@ void matrix_init(void); /* scan all key states on matrix */ uint8_t matrix_scan(void); /* whether modified from previous scan. used after matrix_scan. */ -bool matrix_is_modified(void); +bool matrix_is_modified(void) __attribute__ ((deprecated)); /* whether a swtich is on */ bool matrix_is_on(uint8_t row, uint8_t col); /* matrix state on row */ matrix_row_t matrix_get_row(uint8_t row); -/* count keys pressed */ -uint8_t matrix_key_count(void); /* print matrix for debug */ void matrix_print(void);