input-remapper
input-remapper copied to clipboard
How to make a mapping for all keyboards
I moved the mapping section from a device into ~/.config/input-remapper/config.json, this is just a guess because I can't find in the documentation how to before a mapping for all all keyboards:
{
"version": "1.5.0",
"macros": {
"keystroke_sleep_ms": 10
},
"gamepad": {
"joystick": {
"non_linearity": 4,
"pointer_speed": 80,
"left_purpose": "none",
"right_purpose": "none",
"x_scroll_speed": 2,
"y_scroll_speed": 0.5
}
},
"mapping": {
"1,1,1": [
"KEY_CAPSLOCK",
"keyboard"
],
"1,125,1": [
"Escape",
"keyboard"
],
"1,58,1": [
"Super_L",
"keyboard"
]
}
}
Unsurprisingly it's not working. I also tried adding the mapping section under a keyboard section, also did not work.
System Information and logs
-
input-remapper-control --version
input-remapper 1.5.0 bc68fa7f6ec8faf10fb01e4b70426cade6ca50e1 https://github.com/sezanzeb/input-remapper
python-evdev 1.4.0
- which linux distro (ubuntu 20.04, manjaro, etc.) Ubuntu 22.04
- which desktop environment (gnome, plasma, xfce4, etc.) gnome/i3