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

Tracking issue for input device support #183

Open
1 of 6 tasks
HaoboGu opened this issue Dec 13, 2024 · 3 comments
Open
1 of 6 tasks

Tracking issue for input device support #183

HaoboGu opened this issue Dec 13, 2024 · 3 comments
Labels
enhancement New feature or request input_device tracking-issue Tracking issue of a specific feature

Comments

@HaoboGu HaoboGu added the enhancement New feature or request label Dec 13, 2024
@HaoboGu
Copy link
Owner Author

HaoboGu commented Dec 13, 2024

Related issue: #29 #69

@HaoboGu

This comment was marked as outdated.

@HaoboGu
Copy link
Owner Author

HaoboGu commented Dec 24, 2024

Okay, after some testing I found neither work with generic tasks. So I have to give up embassy task. The only option seems to be join all input device's run together:

// Implement the input device for RotaryEncoder
struct RotaryEncoder {}
impl InputDevice for RotaryEncoder {...}

in user space:

let e1 = RotaryEncoder {};
let e2 = RotaryEncoder {};
join(run_rmk(), run_devices!(e1, e2)).await

@HaoboGu HaoboGu added the tracking-issue Tracking issue of a specific feature label Dec 26, 2024
@HaoboGu HaoboGu pinned this issue Dec 26, 2024
@HaoboGu HaoboGu changed the title Pointing device support Tracking issue for input device support Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input_device tracking-issue Tracking issue of a specific feature
Projects
None yet
Development

No branches or pull requests

1 participant