Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持在keymap中覆盖,使用自定义的扫描算法 #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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