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

Input device refactoring #89

Merged
merged 18 commits into from
Oct 10, 2024
Merged

Input device refactoring #89

merged 18 commits into from
Oct 10, 2024

Conversation

HaoboGu
Copy link
Owner

@HaoboGu HaoboGu commented Oct 8, 2024

Current implementation binds matrix in keyboard, makes it difficult to add other input devices like rotary encoder, touchpad, etc. We have to add all types of input device to keyboard like matrix and poll them in the scanning loop.

This PR decouples matrix and keyboard, enables add other input devices as a separate task too.

Closes #71
Closes #75

HaoboGu added 13 commits October 6, 2024 17:50
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: HaoboGu <haobogu@outlook.com>
Signed-off-by: HaoboGu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
…essing

Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
@HaoboGu
Copy link
Owner Author

HaoboGu commented Oct 9, 2024

To be tested:

  • esp32
  • nrf52840
  • stm32
  • nrf52840 split
  • layer key, layer cache
  • mouse key, multiple mouse key (>= 4
  • tap hold

@HaoboGu HaoboGu marked this pull request as ready for review October 9, 2024 14:59
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Signed-off-by: Haobo Gu <haobogu@outlook.com>
@HaoboGu HaoboGu merged commit 48b788a into main Oct 10, 2024
0 of 2 checks passed
@HaoboGu HaoboGu deleted the feat/input_device branch October 10, 2024 08:17
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.

async memory usage Keyboard code changes tracking
1 participant