-
-
Notifications
You must be signed in to change notification settings - Fork 150
Add config for input devices #685
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
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Binary Size Reportuse_config/nrf52832_bleDiffuse_config/nrf52840_bleDiffuse_config/nrf52840_ble_splitDiffCentral DiffPeripheral Diffuse_rust/nrf52840_ble_splitDiffCentral DiffPeripheral Diffuse_config/pi_pico_w_bleDiffuse_config/pi_pico_w_ble_splitDiffCentral DiffPeripheral Diffuse_rust/pi_pico_w_ble_splitDiffCentral DiffPeripheral Diffuse_config/rp2040Diffuse_config/rp2040_splitDiffCentral DiffPeripheral Diffuse_rust/rp2040_splitDiffCentral DiffPeripheral Diffuse_config/stm32f1Diffuse_config/stm32f4Diffuse_config/stm32h7Diff |
|
Can processors themselves emit events that get funneled back in at the start of the chain? What I mean is: if I have an event coming from one device, that I recognize in a processor and if I recognize it I want to do something in a device. E.g. I press a User-Keycode and that should set the cpi of a trackball sensor. My matrix device emits the keycode event, a processor sees it and wants to set the cpi. How would the processor talk to the sensor/ the device of the sensor? / maybe every device should also get a Channel and proc_message method to make them controllable. Every processor should get a reference to the set of all available device channels. |
Yes, you can. There are two ways:
Generally the event flow is In you case, the sensor can also be a controller. |
Prefix unused variables with underscore to suppress compiler warnings in the custom input device example implementation.
Deploying rmk-rs with
|
| Latest commit: |
d029a99
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30e33c2c.rmk-4a2.pages.dev |
| Branch Preview URL: | https://feat-input-device-config.rmk-4a2.pages.dev |
Signed-off-by: Haobo Gu <haobogu@outlook.com>
b02b6e1 to
d029a99
Compare
Closes #231