There are some applications that use strange/inconvenient user interaction and that is impossible to edit. I want to remap a combination of a keyboard and mouse event to another combination of keyboard and mouse event.
To be precise, I want such map
wheel up ->
wheel up to be activated when a specified application (davinci resolve) is in focus.
There is imwheel utility that solves exactly this task. But that utility is very outdated and targeted for X11, while I am looking for a solution for Wayland. As additonlal note, despite my current use case allows to use it (because davinci resolve currently only runs via Xwayland), it is working not so great. Sometimes several events are not "translated", which leads to unwanted effects. I hope the new wayland supporting utilities will not have such problem.
I have found a very similar question, but for two mice, and it had not exact answer.
I have found utilities (pronobis fork of evdevremapkeys or evremap) that potentially can serve this task, as they allow N:N mappings. But the config file for them uses only one device (at the moment of writing at least), see here.
Now I got an idea to create a virtual evdev input device from my keyboard and mouse (in other words, merge them), and use it in the utility's config. Is it possible?