Skip to content

Conversation

myst729
Copy link
Contributor

@myst729 myst729 commented Nov 29, 2023

以下函数增加 __attribute__((weak)) 标注,可以在 keymap 中覆盖实现

__attribute__((weak)) void matrix_init(void)
__attribute__((weak)) matrix_row_t read_cols(void)
__attribute__((weak)) void select_row(uint8_t row)
__attribute__((weak)) void unselect_rows(uint8_t row)
__attribute__((weak)) uint8_t matrix_scan(void)
__attribute__((weak)) bool matrix_is_modified(void)
__attribute__((weak)) void matrix_deinit(void)
__attribute__((weak)) void matrix_wakeup_prepare(void)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant