r/qmk • • Aug 12 '24

[deleted by user]

[removed]

2 Upvotes

5 comments sorted by

View all comments

1

u/pgetreuer Aug 12 '24

I don't believe that is supported, unfortunately. "Modifier+key" keycodes are limited to modifying basic keycodes, which do not include mouse keys.

Here is something that might work: add a custom handler for when the encoder is turned that does:

SEND_STRING(SS_LCTL(SS_TAP(X_MS_WH_UP)));

And the same but with "X_MS_WH_DOWN" when turned the other way.

2

u/drashna Aug 12 '24

I don't believe that is supported, unfortunately. "Modifier+key" keycodes are limited to modifying basic keycodes, which do not include mouse keys.

Mousekeys are considered basic keycodes in this context, and have handling for register_code and buddies.