sezanzeb / input-remapper

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

Autoloading not working #364

Closed johntria closed 2 years ago

johntria commented 2 years ago
  1. input-remapper-control --version

  2. which linux distro (ubuntu 20.04, manjaro, etc.)

  3. echo $XDG_SESSION_TYPE

  4. which desktop environment (gnome, plasma, xfce4, etc.)

  5. sudo ls -l /proc/1/exe

  6. cat ~/.config/input-remapper/config.json

  7. input-remapper-control --command hello

  8. systemctl status input-remapper -n 50

  9. sudo pkill -f input-remapper-service && sudo input-remapper-service -d & sleep 2 && input-remapper-control --command autoload, are your keys mapped now?

  10. (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.


  1. input-remapper 1.4.2 c7094b552a4e0e3ac679dec0546a0e260e4d4a40 https://github.com/sezanzeb/input-remapper python-evdev 1.3.0

  2. Ubuntu 20.04.4 LTS

  3. x11

  4. GNOME

  5. lrwxrwxrwx 1 root root 0 Απρ 10 19:34 /proc/1/exe -> /usr/lib/systemd/systemd

  6. /root/.config/input-remapper/config.json: No such file or directory....!

  7. Connected to the service Daemon answered with "hello" Done

  8. input-remapper.service - Service to inject keycodes without the GUI applicati> Loaded: loaded (/lib/systemd/system/input-remapper.service; enabled; vendo> Active: active (running) since Sun 2022-04-10 19:34:53 EEST; 5min ago Main PID: 922 (input-remapper-) Tasks: 4 (limit: 19023) Memory: 24.0M CGroup: /system.slice/input-remapper.service ├─ 922 /usr/bin/python3 /usr/bin/input-remapper-service └─1058 /usr/bin/python3 /usr/bin/input-remapper-service

Απρ 10 19:34:53 John systemd[1]: Starting Service to inject keycodes without th> Απρ 10 19:34:53 John input-remapper-service[922]: Starting logging to "/var/log> Απρ 10 19:34:53 John input-remapper-service[922]: input-remapper-service 1.4.2 > Απρ 10 19:34:53 John input-remapper-service[922]: python-evdev 1.3.0 Απρ 10 19:34:53 John systemd[1]: Started Service to inject keycodes without the> Απρ 10 19:35:10 John input-remapper-service[922]: Loaded config from "/home/joh> Απρ 10 19:35:10 John input-remapper-service[922]: Loaded config from "/home/joh> Απρ 10 19:35:10 John input-remapper-service[922]: Stopping all injections Απρ 10 19:35:10 John input-remapper-service[922]: Loaded config from "/home/joh> Απρ 10 19:35:10 John input-remapper-service[922]: Loaded config from "/home/joh> Απρ 10 19:35:10 John input-remapper-service[922]: Autoloading for all devices Απρ 10 19:35:10 John input-remapper-service[922]: ERROR: No presets configured > Απρ 10 19:39:51 John input-remapper-service[922]: Loaded config from "/home/joh>

  1. No

  2. Previous command not Running

sezanzeb commented 2 years ago

Why is the path in step 6 /root/...?

The service is loading from /home/john/.config/input-remapper/config.json

johntria commented 2 years ago

I purged all the packaged and dependencies and reinstall as you described in documentation it due to wrong initialization of project but the problem remain with me . As i can see when i start GUI and click on apply button works properly but does not start on startup . I attach you again the commands which you describe .

1.input-remapper-control --version

2.which linux distro (ubuntu 20.04, manjaro, etc.)

3.echo $XDG_SESSION_TYPE

4.which desktop environment (gnome, plasma, xfce4, etc.)

5.sudo ls -l /proc/1/exe

6.cat ~/.config/input-remapper/config.json

7.input-remapper-control --command hello

8.systemctl status input-remapper -n 50

9.sudo pkill -f input-remapper-service && sudo input-remapper-service -d & sleep 2 && input-remapper-control --command autoload, are your keys mapped now?

10.(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.


1.input-remapper 1.4.2 c7094b552a4e0e3ac679dec0546a0e260e4d4a40 https://github.com/sezanzeb/input-remapper python-evdev 1.3.0

2.Ubuntu 20.04

3.x11

4.Gnome

5.lrwxrwxrwx 1 root root 0 Απρ 14 22:23 /proc/1/exe -> /usr/lib/systemd/systemd

6.{ "version": "1.4.2", "autoload": {}, "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 } } }

7.input-remapper-control --command hello

8.● input-remapper.service - Service to inject keycodes without the GUI application Loaded: loaded (/lib/systemd/system/input-remapper.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-04-14 22:23:15 EEST; 2min 26s ago Main PID: 905 (input-remapper-) Tasks: 4 (limit: 19023) Memory: 24.0M CGroup: /system.slice/input-remapper.service ├─ 905 /usr/bin/python3 /usr/bin/input-remapper-service └─1050 /usr/bin/python3 /usr/bin/input-remapper-service

Απρ 14 22:23:15 John systemd[1]: Starting Service to inject keycodes without the GUI application... Απρ 14 22:23:15 John input-remapper-service[905]: Starting logging to "/var/log/input-remapper" Απρ 14 22:23:15 John input-remapper-service[905]: input-remapper-service 1.4.2 c7094b552a4e0e3ac679dec0546a0e260e4d4a40 https://github.com/sez> Απρ 14 22:23:15 John input-remapper-service[905]: python-evdev 1.3.0 Απρ 14 22:23:15 John systemd[1]: Started Service to inject keycodes without the GUI application. Απρ 14 22:23:29 John input-remapper-service[905]: Loaded config from "/home/john/.config/input-remapper/config.json" Απρ 14 22:23:29 John input-remapper-service[905]: Loaded config from "/home/john/.config/input-remapper/config.json" Απρ 14 22:23:29 John input-remapper-service[905]: Stopping all injections Απρ 14 22:23:30 John input-remapper-service[905]: Loaded config from "/home/john/.config/input-remapper/config.json" Απρ 14 22:23:30 John input-remapper-service[905]: Loaded config from "/home/john/.config/input-remapper/config.json" Απρ 14 22:23:30 John input-remapper-service[905]: Autoloading for all devices Απρ 14 22:23:30 John input-remapper-service[905]: ERROR: No presets configured to autoload Απρ 14 22:25:29 John input-remapper-service[905]: Loaded config from "/home/john/.config/input-remapper/config.json"

  1. No, ERROR daemon.py:401: No presets configured to autoload

10.Previus command not working.

sezanzeb commented 2 years ago

Have you activated the autoload switch?

image

Because the autoload configuration in step 6 is empty

ekansh-agastya commented 2 years ago

im facing the same problem. every time after reboot i have to manually apply the preset. im using endeavour os

1) input-remapper 1.4.2 4f03a7b484a57b56115c67aa661bfbc628768ba6 https://github.com/sezanzeb/input-remapper python-evdev 1.5.0

2) endeavour os appolo

3)x11

4) qtile tiling wm

5)lrwxrwxrwx 1 root root 0 Apr 16 12:54 /proc/1/exe -> /usr/lib/systemd/systemd

6)

{
    "version": "1.4.2",
    "autoload": {
        "Ideapad extra buttons": "tiling-wm",
        "AT Translated Set 2 keyboard": "tiling-wm"
    },
    "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
        }
    }
}

7)

ERROR: Failed to trim logfile: "[Errno 13] Permission denied: '/var/log/input-remapper-control'"
Connected to the service
Daemon answered with "hello"
Done

8)

input-remapper.service - Service to inject keycodes without the GUI application
     Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2022-04-16 12:55:00 IST; 11min ago
   Main PID: 402 (input-remapper-)
      Tasks: 5 (limit: 8782)
     Memory: 39.8M
        CPU: 12.798s
     CGroup: /system.slice/input-remapper.service
             ├─402 /usr/bin/python3 /usr/bin/input-remapper-service
             ├─428 /usr/bin/python3 /usr/bin/input-remapper-service
             └─954 /usr/bin/python3 /usr/bin/input-remapper-service

Apr 16 12:54:58 ekansh-80xs systemd[1]: Starting Service to inject keycodes without the GUI application...
Apr 16 12:55:00 ekansh-80xs input-remapper-service[402]: Starting logging to "/var/log/input-remapper"
Apr 16 12:55:00 ekansh-80xs input-remapper-service[402]: input-remapper-service 1.4.2 4f03a7b484a57b56115c67aa661bfbc628768ba6 https:>
Apr 16 12:55:00 ekansh-80xs input-remapper-service[402]: python-evdev 1.5.0
Apr 16 12:55:00 ekansh-80xs systemd[1]: Started Service to inject keycodes without the GUI application.
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: Request to autoload for "Ideapad extra buttons"
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: ERROR: Request to autoload "Ideapad extra buttons" before a user told the se>
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: Request to autoload for "Video Bus"
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: ERROR: Request to autoload "Video Bus" before a user told the service about >
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: Request to autoload for "AT Translated Set 2 keyboard"
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: ERROR: Request to autoload "AT Translated Set 2 keyboard" before a user told>
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: Request to autoload for "Elan Touchpad"
Apr 16 12:55:03 ekansh-80xs input-remapper-service[402]: ERROR: Request to autoload "Elan Touchpad" before a user told the service ab>
Apr 16 12:55:28 ekansh-80xs input-remapper-service[402]: Loaded config from "/home/ekansh/.config/input-remapper/config.json"
Apr 16 12:55:43 ekansh-80xs input-remapper-service[402]: Loaded config from "/home/ekansh/.config/input-remapper/config.json"
Apr 16 12:55:43 ekansh-80xs input-remapper-service[402]: Request to start injecting for "AT Translated Set 2 keyboard"
Apr 16 12:55:44 ekansh-80xs input-remapper-service[402]: Found "Ideapad extra buttons", "Elan Touchpad", "Video Bus", "AT Translated >
Apr 16 12:55:44 ekansh-80xs input-remapper-service[402]: Loading preset from "/home/ekansh/.config/input-remapper/presets/AT Translat>
Apr 16 12:55:44 ekansh-80xs input-remapper-service[954]: Starting injecting the preset for "AT Translated Set 2 keyboard"
Apr 16 13:05:25 ekansh-80xs input-remapper-service[402]: Loaded config from "/home/ekansh/.config/input-remapper/config.json"
Apr 16 13:05:25 ekansh-80xs input-remapper-service[402]: Loaded config from "/home/ekansh/.config/input-remapper/config.json"
Apr 16 13:05:25 ekansh-80xs input-remapper-service[402]: Received "hello" from client
sezanzeb commented 2 years ago

What's the output of journalctl --since today | grep input-remapper?

johntria commented 2 years ago

Have you activated the autoload switch?

image

Because the autoload configuration in step 6 is empty

I hadn't activated . It works properly. Thank you !

sezanzeb commented 2 years ago

Thank you !

you're welcome


@ekansh-agastya you should open a separate issue instead. This is not the same problem

UN-9BOT commented 1 year ago

Hello. After restarting the service in manual mode, the buttons will start working. But after restarting the system, nothing changes.

  1. input-remapper 1.5.0 bc68fa7f6ec8faf10fb01e4b70426cade6ca50e1 https://github.com/sezanzeb/input-remapper python-evdev 1.6.1 2.6.1.8-arch1-1
  2. x11
  3. qtile 0.22.1
  4. lrwxrwxrwx 1 root root 0 янв 31 08:07 /proc/1/exe -> /usr/lib/systemd/systemd
  5. 
    "version": "1.5.0",
    "autoload": {
        "COMPANY  USB Device ": "mouse",
        "SONiX USB Keyboard": "keyboard"
    },
    "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. Connected to the service. Daemon answered with "hello". Done
  7. 
    input-remapper.service - Service to inject keycodes without the GUI application
     Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; preset: disabled)
     Active: active (running) since Tue 2023-01-31 08:07:16 MSK; 11min ago
    Main PID: 450 (input-remapper-)
      Tasks: 4 (limit: 16626)
     Memory: 30.6M
        CPU: 289ms
     CGroup: /system.slice/input-remapper.service
             ├─450 /usr/bin/python3 /usr/bin/input-remapper-service
             └─468 /usr/bin/python3 /usr/bin/input-remapper-service

янв 31 08:07:16 ms1 systemd[1]: Starting Service to inject keycodes without the GUI application... янв 31 08:07:16 ms1 input-remapper-service[450]: input-remapper-service 1.5.0 bc68fa7f6ec8faf10fb01e4b70426cade6ca50> янв 31 08:07:16 ms1 input-remapper-service[450]: python-evdev 1.6.1 янв 31 08:07:16 ms1 systemd[1]: Started Service to inject keycodes without the GUI application. янв 31 08:07:18 ms1 input-remapper-service[450]: Request to autoload for "ELAN0300:00 04F3:30AA Mouse" янв 31 08:07:18 ms1 input-remapper-service[450]: ERROR: Request to autoload "ELAN0300:00 04F3:30AA Mouse" before a u> янв 31 08:07:18 ms1 input-remapper-service[450]: Request to autoload for "Sleep Button" янв 31 08:07:18 ms1 input-remapper-service[450]: ERROR: Request to autoload "Sleep Button" before a user told the se> янв 31 08:07:18 ms1 input-remapper-service[450]: Request to autoload for "Video Bus" янв 31 08:07:18 ms1 input-remapper-service[450]: ERROR: Request to autoload "Video Bus" before a user told the servi> янв 31 08:07:18 ms1 input-remapper-service[450]: Request to autoload for "AT Translated Set 2 keyboard" янв 31 08:07:18 ms1 input-remapper-service[450]: ERROR: Request to autoload "AT Translated Set 2 keyboard" before a > янв 31 08:07:18 ms1 input-remapper-service[450]: Request to autoload for "ELAN0300:00 04F3:30AA Mouse" янв 31 08:07:18 ms1 input-remapper-service[450]: ERROR: Request to autoload "ELAN0300:00 04F3:30AA Mouse" before a u> янв 31 08:07:20 ms1 input-remapper-service[450]: Request to autoload for "MSI WMI hotkeys" янв 31 08:07:20 ms1 input-remapper-service[450]: ERROR: Request to autoload "MSI WMI hotkeys" before a user told the> янв 31 08:07:20 ms1 input-remapper-service[450]: Request to autoload for "COMPANY USB Device " янв 31 08:07:20 ms1 input-remapper-service[450]: ERROR: Request to autoload "COMPANY USB Device " before a user tol> янв 31 08:07:20 ms1 input-remapper-service[450]: Request to autoload for "SONiX USB Keyboard" янв 31 08:07:20 ms1 input-remapper-service[450]: ERROR: Request to autoload "SONiX USB Keyboard" before a user told > янв 31 08:07:20 ms1 input-remapper-service[450]: Request to autoload for "SONiX USB Keyboard" янв 31 08:07:20 ms1 input-remapper-service[450]: ERROR: Request to autoload "SONiX USB Keyboard" before a user told > янв 31 08:07:21 ms1 input-remapper-service[450]: Request to autoload for "ETPS/2 Elantech Touchpad" янв 31 08:07:21 ms1 input-remapper-service[450]: ERROR: Request to autoload "ETPS/2 Elantech Touchpad" before a user> янв 31 08:07:21 ms1 input-remapper-service[450]: Request to autoload for "SONiX USB Keyboard" янв 31 08:07:21 ms1 input-remapper-service[450]: ERROR: Request to autoload "SONiX USB Keyboard" before a user told > янв 31 08:08:37 ms1 input-remapper-service[450]: Loaded config from "/home/un9bot/.config/input-remapper/config.json" янв 31 08:08:37 ms1 input-remapper-service[450]: Loaded config from "/home/un9bot/.config/input-remapper/config.json"

9. Yes. The keys are mapped now. 

[1] 18309 08:20:19.920847 18311 Service INFO logger.py:225: input-remapper-service 1.5.0 bc68fa7f6ec8faf10fb01e4b70426cade6ca50e1 https://github.com/sezanzeb/input-remapper 08:20:19.920946 18311 Service INFO logger.py:233: python-evdev 1.6.1 08:20:19.920986 18311 Service WARNING logger.py:236: Debug level will log all your keystrokes! Do not post this output in the internet if you typed in sensitive or private information with your device! 08:20:19.921022 18311 Service DEBUG daemon.py:165: Creating daemon 08:20:19.921134 18311 Service INFO global_config.py:104: Loaded config from "/home/un9bot/.config/input-remapper/config.json" 08:20:19.921182 18311 Service DEBUG shared_dict.py:56: Starting SharedDict process 08:20:19.923256 18318 Service DEBUG shared_dict.py:62: SharedDict process started 08:20:19.927871 18311 Service DEBUG daemon.py:251: Running daemon Connected to the service 08:20:21.930025 18311 Service INFO global_config.py:104: Loaded config from "/home/un9bot/.config/input-remapper/config.json" 08:20:21.930797 18311 Service INFO global_config.py:104: Loaded config from "/home/un9bot/.config/input-remapper/config.json" Autoloading all 08:20:21.931689 18311 Service INFO daemon.py:397: Autoloading for all devices 08:20:21.931759 18311 Service DEBUG daemon.py:264: Refreshing because last info is too old 08:20:22.034126 18311 Service DEBUG groups.py:336: Discovering device paths 08:20:22.035084 18311 Service DEBUG groups.py:377: Found "17_2_14_isa0060", "/dev/input/event19", "ETPS/2 Elantech Touchpad", type: touchpad 08:20:22.063998 18311 Service DEBUG groups.py:377: Found "3_2522_8808_usb-0000:03:00.3-2.1.3", "/dev/input/event18", "SONiX USB Keyboard System Control", type: unknown 08:20:22.080895 18311 Service DEBUG groups.py:377: Found "3_2522_8808_usb-0000:03:00.3-2.1.3", "/dev/input/event17", "SONiX USB Keyboard Consumer Control", type: unknown 08:20:22.170478 18311 Service DEBUG groups.py:377: Found "3_2522_8808_usb-0000:03:00.3-2.1.3", "/dev/input/event15", "SONiX USB Keyboard", type: keyboard 08:20:22.194116 18311 Service DEBUG groups.py:377: Found "3_2522_64636_usb-0000:03:00.3-2.2", "/dev/input/event14", "COMPANY USB Device ", type: mouse 08:20:22.467165 18311 Service DEBUG groups.py:377: Found "25_0_0_wmi", "/dev/input/event8", "MSI WMI hotkeys", type: unknown 08:20:22.507121 18311 Service DEBUG groups.py:377: Found "24_1267_12458_i2c-ELAN0300:00", "/dev/input/event7", "ELAN0300:00 04F3:30AA Touchpad", type: touchpad 08:20:22.527146 18311 Service DEBUG groups.py:377: Found "24_1267_12458_i2c-ELAN0300:00", "/dev/input/event6", "ELAN0300:00 04F3:30AA Mouse", type: unknown 08:20:22.553809 18311 Service DEBUG groups.py:377: Found "17_1_1_isa0060", "/dev/input/event5", "AT Translated Set 2 keyboard", type: keyboard 08:20:22.583951 18311 Service DEBUG groups.py:377: Found "25_0_6_LNXVIDEO", "/dev/input/event4", "Video Bus", type: unknown 08:20:22.664106 18311 Service DEBUG groups.py:377: Found "25_0_3_PNP0C0E", "/dev/input/event2", "Sleep Button", type: unknown 08:20:22.704144 18311 Service INFO groups.py:448: Found "ETPS/2 Elantech Touchpad", "SONiX USB Keyboard", "COMPANY USB Device ", "MSI WMI hotkeys", "ELAN0300:00 04F3:30AA Mouse", "AT Translated Set 2 keyboard", "Video Bus", "Sleep Button" 08:20:22.704327 18311 Service INFO daemon.py:342: Autoloading for "COMPANY USB Device " 08:20:22.704373 18311 Service INFO daemon.py:419: Request to start injecting for "COMPANY USB Device " 08:20:22.704442 18311 Service INFO preset.py:169: Loading preset from "/home/un9bot/.config/input-remapper/presets/COMPANY USB Device /mouse.json" 08:20:22.705357 18311 Service DEBUG preset.py:199: <EventCombination (1, 275, 1)> maps to ('KEY_COPY', 'keyboard') 08:20:22.705497 18311 Service DEBUG preset.py:199: <EventCombination (1, 276, 1)> maps to ('KEY_LEFTCTRL+Shift_L+V', 'keyboard') 08:20:22.705618 18311 Service DEBUG global_uinputs.py:59: creating UInput device: 'input-remapper keyboard' 08:20:22.817711 18311 Service DEBUG global_uinputs.py:130: Target "keyboard" already exists 08:20:22.818593 18311 Service DEBUG daemon.py:471: Using keycodes from "/home/un9bot/.config/input-remapper/xmodmap.json" 08:20:22.818689 18311 Service DEBUG system_mapping.py:90: Gathering available keycodes 08:20:22.818752 18311 Service DEBUG system_mapping.py:90: Gathering available keycodes 08:20:22.820986 18311 Service DEBUG system_mapping.py:143: Updated keycodes with 216 new ones 08:20:22.822449 18311 Service INFO daemon.py:342: Autoloading for "SONiX USB Keyboard" 08:20:22.822562 18311 Service INFO daemon.py:419: Request to start injecting for "SONiX USB Keyboard" 08:20:22.822652 18311 Service INFO preset.py:169: Loading preset from "/home/un9bot/.config/input-remapper/presets/SONiX USB Keyboard/keyboard.json" 08:20:22.823142 18385 Service INFO injector.py:300: Starting injecting the preset for "COMPANY USB Device " 08:20:22.823302 18311 Service DEBUG preset.py:199: <EventCombination (1, 58, 1)> maps to ('Pause', 'keyboard') 08:20:22.823376 18311 Service DEBUG global_uinputs.py:130: Target "keyboard" already exists 08:20:22.823504 18311 Service DEBUG daemon.py:471: Using keycodes from "/home/un9bot/.config/input-remapper/xmodmap.json" 08:20:22.823863 18311 Service DEBUG system_mapping.py:143: Updated keycodes with 0 new ones 08:20:22.823896 18385 Service DEBUG context.py:89: Parsing macros 08:20:22.824328 18385 Service DEBUG parse.py:349: Transformed "KEY_LEFTCTRL+Shift_L+V" to "hold_keys(KEY_LEFTCTRL,Shift_L,V)" 08:20:22.824412 18385 Service DEBUG parse.py:428: preparing macro hold_keys(KEY_LEFTCTRL,Shift_L,V) for later execution 08:20:22.824768 18385 Service DEBUG parse.py:272: calls hold_keys with KEY_LEFTCTRL,Shift_L,V 08:20:22.825097 18385 Service DEBUG parse.py:329: string KEY_LEFTCTRL 08:20:22.825183 18385 Service DEBUG parse.py:329: string Shift_L 08:20:22.825258 18385 Service DEBUG parse.py:329: string V 08:20:22.825318 18385 Service DEBUG parse.py:293: add call to hold_keys with ['KEY_LEFTCTRL', 'Shift_L', 'V'], {} Done 08:20:22.825846 18385 Service DEBUG injector.py:197: Grabbing "/dev/input/event14" because of "<EventCombination (1, 275, 1)>" 08:20:22.826002 18385 Service DEBUG injector.py:217: Grab /dev/input/event14 08:20:22.826340 18386 Service INFO injector.py:300: Starting injecting the preset for "SONiX USB Keyboard" 08:20:22.827289 18386 Service DEBUG context.py:89: Parsing macros 08:20:22.827420 18386 Service DEBUG context.py:101: No macros configured 08:20:22.827792 18386 Service DEBUG injector.py:210: No need to grab /dev/input/event18 08:20:22.844029 18386 Service DEBUG injector.py:210: No need to grab /dev/input/event17 08:20:22.863934 18386 Service DEBUG injector.py:197: Grabbing "/dev/input/event15" because of "<EventCombination (1, 58, 1)>" 08:20:22.864207 18386 Service DEBUG injector.py:217: Grab /dev/input/event15 un9bot@ms1  ~  08:20:22.995032 18385 Service DEBUG numlock.py:65: numlockx not found 08:20:22.995446 18385 Service DEBUG consumer_control.py:85: Starting to listen for events from /dev/input/event14, fd 26 08:20:22.995595 18386 Service DEBUG numlock.py:65: numlockx not found 08:20:22.996020 18386 Service DEBUG consumer_control.py:85: Starting to listen for events from /dev/input/event15, fd 30 08:20:24.631770 18386 Service DEBUG keycode_mapper.py:540: maps to (119, keyboard) ······· ((1, 58, 1)) 08:20:24.743256 18386 Service DEBUG keycode_mapper.py:455: releasing (119, keyboard) ····· ((1, 58, 0)) 08:20:25.351620 18386 Service DEBUG keycode_mapper.py:540: maps to (119, keyboard) ······· ((1, 58, 1)) 08:20:25.447734 18386 Service DEBUG keycode_mapper.py:455: releasing (119, keyboard) ····· ((1, 58, 0)) 08:20:26.111834 18386 Service DEBUG keycode_mapper.py:540: maps to (119, keyboard) ······· ((1, 58, 1))

10. Yes.

Testing ... (interrupt to exit) Event: time 1675142783.592432, type 1 (EV_KEY), code 119 (KEY_PAUSE), value 1 Event: time 1675142783.592432, -------------- SYN_REPORT ------------ Event: time 1675142783.703691, type 1 (EV_KEY), code 119 (KEY_PAUSE), value 0 Event: time 1675142783.703691, -------------- SYN_REPORT ------------