X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fmatrix.h;h=d1d14a6ead8595609accf32f608643b1194e2585;hb=b9e265368fde73daff069788dcb58c8230d01b32;hp=b3332d5ff91ca3132cc5524a4b6485df568d5b0c;hpb=fffc375b45ad795c4a8d3cde94783dac195a2613;p=tmk_firmware.git diff --git a/common/matrix.h b/common/matrix.h index b3332d5..d1d14a6 100644 --- a/common/matrix.h +++ b/common/matrix.h @@ -44,15 +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); -/* whether ghosting occur on matrix. */ -bool matrix_has_ghost(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);