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

Feature request: mouse emulation #143

Open
kalbasit opened this issue Dec 15, 2024 · 2 comments
Open

Feature request: mouse emulation #143

kalbasit opened this issue Dec 15, 2024 · 2 comments

Comments

@kalbasit
Copy link

zmkfirmware/zmk#2477 was recently merged upstream adding support for proper mouse emulation support (movement, scrolling alongside existing clicking). It would be great to add support for it.

@caksoylar
Copy link
Owner

I agree, I should add them to the default config to be converted. Currently the problem is we have no defaults for raw_binding_map and I don't want to particularly add defaults there. I am planning to add a new field like zmk_behavior_param_map to generalize it, so you can map non-keycode parameters:

parse_config:
  zmk_behavior_param_map:
    'mmv': { MOVE_LEFT: Mouse Left , MOVE_RIGHT: Mouse Right }
    ...

and we can add defaults values there.

For now, you can use raw_binding_map to override them, see my config as an example: https://github.com/caksoylar/zmk-config/blob/2495088f65f362700a586ee90353c29a8842c742/keymap-drawer/config.yaml#L32-L46

@caksoylar
Copy link
Owner

For my future reference, previous discussion starting here: #28 (comment)

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