Help with syntax for nested combos and macros. #166
Replies: 1 comment 4 replies
-
Without testing/trying, some suggestions: I think SCROLL_UP/DOWN cannot be used as input. They are EV_REL events and not EV_KEY or EV_BTN events, and if I am correct this tool can send some simple EV_REL events, but cannot use them as input. But such a fancy mouse also scroll-left/right buttons probably? Edit: turn out SCROLL_UP/DOWN is available as input event. It is the only (at the moment) EV_REL event that can be used, so the general suggestion you cannot listen to EV_REL events is correct, but scroll has been implemented. As to using SIDE as modifier key
It is possible to make also the side button by itself work, you need to add some juggling
That has as a result you cannot use both left and right while holding side down. If you want that too, I think you need to split the variables.
|
Beta Was this translation helpful? Give feedback.
-
I recently found key-mapper and I am loving the user friendly gui and flexibility.
The documentation is great and the cross device example seems like it is very close to what I want. I have a standard 5 button mouse and what I'm trying to do is have the buttons on the side (SIDE,EXTRA) function normally if pressed and released without any other mapped combination, but work as their own modifier in combination with other buttons on the same device. For some reason the syntax just isn't clicking in my brain. It would look something like this without exact naming:
SIDE = released alone = SIDE
+LEFT = META+LEFT
+RIGHT = META+RIGHT
+SCROLL_UP = L_CTRL+EQUAL
+SCROLL_DOWN = L__CTRL+MINUS
EXTRA = released alone = EXTRA
+LEFT = r(LEFT) auto-clicker
+RIGHT = r(RIGHT) auto-clicker
I usually remap games for ESDF instead of WASD to maximize available keys around primary controls. So I already remapped capslock which is premo real-estate and finally have my double-sided return keyboard. Now I want to try doing more in-depth stuff and maybe function nesting if possible.
If anyone has any recommended exercises to practice or advice on what I'd like done I would appreciate it. Usually when example are provided like in the material I don't have any problem filling in the blanks. Just trying to wrap my head around it. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions