-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Please install the newest version from source to see if the problem has already been solved.
Share some logs please:
input-remapper-control --version
╭─louwu@LoUwULinux in ~
╰─λ input-remapper-control --version
/usr/lib/python3.13/site-packages/inputremapper/logging/logger.py:157: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
input-remapper 2.2.0 ec67ff07ea8643a849bad017baac8bbfd1820c88 https://github.com/sezanzeb/input-remapper
python-evdev 1.9.2
- which linux distro (ubuntu 20.04, manjaro, etc.)
OS Garuda Linux x86_64
├ Kernel Linux 6.17.9-arch1-1-znver2
├ Packages 2493 (pacman)[stable]
└ Shell fish 4.2.1
DE KDE Plasma 6.5.3
├ Window Manager KWin (Wayland)
├ Login Manager sddm 0.21.0 (Wayland)
├ WM Theme WillowDarkAltShader
├ Color Themes Windows (LavenderPrime) [Qt], Sweet-Dark [GTK2/3/4]
├ System Icons Papirus-Dark [Qt], Papirus-Dark [GTK2/3/4]
├ System Fonts Comic Sans MS (10pt) [Qt], Comic Sans MS (10pt) [GTK2/3/4]
└ Terminal konsole 25.8.3
PC Desktop
├ CPU AMD Ryzen 5 3600 (12) @ 4.21 GHz
├ GPU NVIDIA GeForce RTX 3060 [Discrete]
├ Vulkan 1.4.312 - NVIDIA [580.105.08]
└ Display(s) 2560x1080 in 34", 75 Hz [External, HDR] *
└ Display(s) 1440x900 in 17", 75 Hz [External]
-
echo $XDG_SESSION_TYPE
wayland -
which desktop environment (gnome, plasma, xfce4, etc.)
KDE Plasma -
sudo ls -l /proc/1/exe
lrwxrwxrwx 1 root root 0 dez 6 17:31 /proc/1/exe -> /usr/lib/systemd/systemd -
paste the affected preset .json file from ~/.config/input-remapper-2/presets
[
{
"input_combination": [
{
"type": 1,
"code": 279,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "hold(\n\tif_eq($shift, 1,\n\t\tkey_down(BTN_RIGHT).\n\t\twait(35).\n\t\tkey_up(BTN_RIGHT).\n\t\twait(35)\n\t,\n\t\tkey_down(BTN_LEFT).\n\t\tw(35).\n\t\tkey_up(BTN_LEFT).\n\t\tw(35)\n\t)\n)",
"name": "cliccy / righty",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 280,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard",
"output_symbol": "if_eq($shift, 1,\n\tkey(F14)\n,\n\tkey(F13)\n)",
"name": "F13 / F14",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 278,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($shift, 1,\n\thold(\n\t\tkey_down(1).\n\t\twait(35).\n\t\tkey_up(1).\n\t\twait(35)\n\t)\n,\n\tkey_down(BTN_LEFT).\n\tw(35).\n\tkey_up(BTN_LEFT).\n\tw(35).\n\tkey_down(BTN_LEFT).\n\tw(35).\n\tkey_up(BTN_LEFT).\n)",
"name": "double click / cast fist",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 277,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
},
{
"type": 1,
"code": 276,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard",
"output_symbol": "KEY_PLAY",
"name": "play-pause",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 281,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($shift, 1,\n\tkey(KEY_NEXTSONG)\n,\n\tif_eq($warf, 1,\n\t\t\n\t,\n\t\thold(\n\t\t\twheel(left, 75). # yes, it's reversed\n\t\t\tw(45).\n\t\t).\n\t)\n)",
"name": "Scroll right / Next song",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 282,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($shift, 1,\n\tkey(KEY_PREVIOUSSONG)\n,\n\tif_eq($warf, 1,\n\t\t\n\t,\n\t\thold(\n\t\t\twheel(right, 75). # yes, it's reversed\n\t\t\tw(45).\n\t\t).\n\t)\n)",
"name": "Scroll left / Prev song",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 277,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard",
"output_symbol": "hold(\n\tset(shift, 1).\n).\nset(shift, 0).\ndisable.",
"name": "shift",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 1,
"code": 277,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
},
{
"type": 1,
"code": 275,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833"
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($warf, 1,\n\tset(warf, 0).\n\tdisable.\n,\n\tset(warf, 1).\n\tdisable.\n)",
"name": "Warframe mode",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 2,
"code": 8,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833",
"analog_threshold": -1
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($shift, 1,\n\tkey(KEY_VOLUMEDOWN).\n\tdisable.\n,\n\twheel(down, 75)\n).",
"mapping_type": "key_macro"
},
{
"input_combination": [
{
"type": 2,
"code": 8,
"origin_hash": "5e2a531497032f6f42b8fb73f00e5833",
"analog_threshold": 1
}
],
"target_uinput": "keyboard + mouse",
"output_symbol": "if_eq($shift, 1,\n\tkey(KEY_VOLUMEUP).\n\tdisable.\n,\n\twheel(up, 75)\n).",
"mapping_type": "key_macro"
}
]
sudo pkill -f input-remapper-service && input-remapper-gtk -d, apply the preset and hit your key. Then share that log.
Debug paste.txt
Look, it's too long, and pastebin wouldn't take it, so this was the 3rd best option.
sudo evtestwhile the previous command is running, to see how events are injected. Devices starting withinput-remapper ...are of interest.
Testing ... (interrupt to exit)
Event: time 1765055940.028590, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000b
Event: time 1765055940.028590, -------------- SYN_REPORT ------------
Event: time 1765055940.193490, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000b
Event: time 1765055940.193490, -------------- SYN_REPORT ------------
Event: time 1765055940.677662, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1765055940.677662, -------------- SYN_REPORT ------------
Event: time 1765055940.830520, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1765055940.830520, -------------- SYN_REPORT ------------
Event: time 1765055941.579747, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1765055941.579747, -------------- SYN_REPORT ------------
Event: time 1765055941.726617, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1765055941.726617, -------------- SYN_REPORT ------------
Event: time 1765055942.198770, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1765055942.198770, -------------- SYN_REPORT ------------
Event: time 1765055942.372768, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1765055942.372768, -------------- SYN_REPORT ------------
Event: time 1765055943.722883, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1765055943.722883, -------------- SYN_REPORT ------------
Event: time 1765055943.985830, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1765055943.985830, -------------- SYN_REPORT ------------
Event: time 1765055944.137085, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1765055944.137085, -------------- SYN_REPORT ------------
Event: time 1765055944.498908, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1765055944.498908, -------------- SYN_REPORT ------------
Event: time 1765055944.653876, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1765055944.653876, -------------- SYN_REPORT ------------
Event: time 1765055945.003884, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1765055945.003884, -------------- SYN_REPORT ------------
Event: time 1765055954.617717, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1765055954.617717, -------------- SYN_REPORT ------------
Event: time 1765055955.264795, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 120
Event: time 1765055955.264795, -------------- SYN_REPORT ------------
Basically, whenever I use an if_eq(), the key just stops working. Either it injects, but the original input is still registered (with the original mouse disabled on configs), or the key just stops working altogether.
For instance, if I use Mouse Button 6 + Mouse Button 4, it works flawlessly, but if I set Mouse Button 6 to hold(set(shift, 1).).set(shift, 0).disable and Mouse Button 4 with an if_eq($shift, 1, macro1 , macro2), it suddenly no longer works. I like the shift workflow, and there's a perfect button for a mouse-only shift on the G502.
WTF is going on with my input-remapper? I updated my system one day, and it no longer worked...