-
-
Notifications
You must be signed in to change notification settings - Fork 117
Bidirectional matrix scanning #541
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
base: main
Are you sure you want to change the base?
Conversation
Binary Size Reportuse_config/nrf52832_ble
Diff
use_config/nrf52840_ble
Diff
use_config/nrf52840_ble_split
DiffCentral Diff
Peripheral Diff
use_config/pi_pico_w_ble
Diff
use_config/pi_pico_w_ble_split
DiffCentral Diff
Peripheral Diff
use_config/rp2040
Diff
use_config/rp2040_split
DiffCentral Diff
Peripheral Diff
use_config/stm32f1
Diff
use_config/stm32f4
Diff
use_config/stm32h7
Diff
|
I think a separate |
Thank you for taking a look. You're right - I thought I could get away with feature gates, but I also had to change the signature a bit, which makes a separate I updated my implementation and will try to complete and test it with my prototype in the next days. |
I changed the implementation a bit to simplify the pin setup and add a "scan matrix" that explicitly specifies the scanned pairs (this is also how PRK does it). I think its good to make the matrix scanning a bit more explicit, this also allows for a more flexible pin setups.
Example configuration: https://github.com/archnode/weaver-keyboard-rmk/blob/main/src/main.rs |
This is a first draft of adding bidirectional matrix scanning. It also implements the explicit naming of scan modes as discussed in #380, as this is needed with a third scan mode.