X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fmatrix.h;h=ec6f8cd431895d19c957d4b28c069779eae5f05b;hb=5c89d73755e1b42420f6b52e659f9489bc833ce9;hp=107ee72653894a4b4fbf35b7f0110c8fb91d72f9;hpb=d9fee5571d7de08e76dff5ce75816faf522240f6;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h index 107ee726..ec6f8cd4 100644 --- a/tmk_core/common/matrix.h +++ b/tmk_core/common/matrix.h @@ -43,7 +43,9 @@ extern "C" { uint8_t matrix_rows(void); /* number of matrix columns */ uint8_t matrix_cols(void); -/* intialize matrix for scaning. should be called once. */ +/* should be called at early stage of startup before matrix_init.(optional) */ +void matrix_setup(void); +/* intialize matrix for scaning. */ void matrix_init(void); /* scan all key states on matrix */ uint8_t matrix_scan(void);