X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fmatrix.h;h=d1d14a6ead8595609accf32f608643b1194e2585;hb=caf7b4e68a597dec1ab23b98838ca0509c318962;hp=91231e765eba67b1c85bcae8ec8df25b65d90d02;hpb=e451c059296a4c9af7a476577fee64afb9965bca;p=max%2Ftmk_keyboard.git diff --git a/common/matrix.h b/common/matrix.h index 91231e76..d1d14a6e 100644 --- a/common/matrix.h +++ b/common/matrix.h @@ -44,17 +44,13 @@ 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_debug(void); +void matrix_print(void); #endif