I'm trying to remap a button on my controller to "alt tab", but it doesn't work.
But I'm able to see controller events in both evtest and evremap debug-events.
I'm also able to remap controller buttons to each other, like remap button "A" to button "B".
I believe this might be because evremap input device is of the same type as the original device (game controller), and keyboard keys are outside the acceptable range for this device type.
# This works
device_name = "Generic X-Box pad"
phys = "usb-0000:08:00.3-2/input0"
[[remap]]
input = ["BTN_WEST"]
output = ["BTN_SOUTH"]
# This does not work
device_name = "Generic X-Box pad"
phys = "usb-0000:08:00.3-2/input0"
[[remap]]
input = ["BTN_WEST"]
output = ["KEY_A"]
Creating this issue mainly to discuss about this. Am I on the right track? Any ideas on how I can make this work?
If this requires code changes, I can attempt that if you point me in the right direction :)
I'm trying to remap a button on my controller to "alt tab", but it doesn't work. But I'm able to see controller events in both evtest and evremap debug-events. I'm also able to remap controller buttons to each other, like remap button "A" to button "B".
I believe this might be because evremap input device is of the same type as the original device (game controller), and keyboard keys are outside the acceptable range for this device type.
Creating this issue mainly to discuss about this. Am I on the right track? Any ideas on how I can make this work?
If this requires code changes, I can attempt that if you point me in the right direction :)