sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.89k stars 161 forks source link

Autoloading not working (used to work before) #684

Open ghost opened 1 year ago

ghost commented 1 year ago

Please install the newest version from source to see if the problem has already been solved.

System Information and logs

  1. input-remapper 2.0.0 486d33acb4132fa81d77de808b0321905439d062 https://github.com/sezanzeb/input-remapper python-evdev 1.6.1

  2. manjaro

  3. gnome

  4. yes

  5. { "version": "2.0.0", "autoload": { "RH USB Gaming Mouse": "new preset", "BY Tech Usb Gaming Keyboard": "new preset", "MOSART Semi. 2.4G Wireless Mouse": "My mouse" }, "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 } } }

  6. ○ input-remapper.service - Service to inject keycodes without the GUI applicati> Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; disabled; > Active: inactive (dead)

Testing the setup

  1. input-remapper-control --command hello
  2. sudo pkill -f input-remapper-service && sudo input-remapper-service -d & sleep 2 && input-remapper-control --command autoload, are your keys mapped now?
  3. (while the previous command is still running) sudo evtest and search for a device suffixed by "mapped". Select it, does it report any events? Share the output.
  4. sudo udevadm control --log-priority=debug && sudo udevadm control --reload-rules && journalctl -f | grep input-remapper, now plug in the device that should autoload
ghost commented 1 year ago
  1. ok
  2. yes
  3. svtest command not found