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

The &msc options show mouse movement events instead of scroll events #274

Open
ng-nicholas opened this issue Dec 16, 2024 · 1 comment
Open

Comments

@ng-nicholas
Copy link

I am trying to create custom behavior for a rotary encoder and I have noticed that the latest mouse emulation features have been incorporated into the editor. However, mouse movement events are still being listed under &msc bahavior, instead of the expected scroll options.

@nickcoutsos
Copy link
Owner

Yeah, this one's a pain in the ass because the scroll and move behaviors are functionally the same (both are instances of the zmk,behavior-input-two-axis behavior) and even the different binding parameters really just boil down to different default distances.

I have one overlay for behaviors with zmk,behavior-input-two-axis and another for &msc with the scroll-specific treatment, but that means custom made behaviors intended for scrolling won't match. This is the only case where I'm still using this way to match so the error went unnoticed until now.

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

No branches or pull requests

2 participants