evtest
tool on Windows, you'll need to follow these steps: Step 1: Install WSL (Windows Subsystem for Linux) evtest
tool on Windows, you'll need to follow these steps: Step 1: Install WSL (Windows Subsystem for Linux) sudo apt update
Step 5: Install evtest
evtest
by executing the following command: sudo apt install evtest
Step 6: Run evtest
evtest
command followed by the path to the input device representing your keyboard. You can find the path by executing the following command: ls -l /dev/input/by-path
/dev/input/eventX
), and then run evtest
with that path. For example: sudo evtest /dev/input/eventX
Step 7: Remap the keyboard keysevtest
tool will show you the events generated by each key on your keyboard. Identify the key you want to remap and make a note of its event code.99-keyboard-remap.rules
and add the following line (replace KEY_A
and KEY_B
with the appropriate event codes):
evdev:input:bXXXXXXXXX KEY_A=KEY_B
sudo cp 99-keyboard-remap.rules /etc/udev/rules.d/
That's it! The specified key on your keyboard should now be remapped. Disconnect and reconnect the keyboard for the changes to take effect. Remember that this approach requires using WSL and a Linux distribution, but it serves as a workaround for using the evtest
tool on Windows.Please reply with link to that program.How can one on Windows have evtest tool installed so can use it to remap the keyboard keys ?
Please sincerely help out, any of which's so invaluable