How Windows facilitate installation on evtest

abd

New Member
Joined
Nov 22, 2023
Messages
1
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
 


Solution
To install and use the evtest tool on Windows, you'll need to follow these steps: Step 1: Install WSL (Windows Subsystem for Linux)
  • To enable a Linux environment on your Windows system, you need to install WSL. This can be done by following the official Microsoft documentation on how to enable WSL: Install WSL Step 2: Install a Linux distribution
  • Once WSL is installed, you can choose and install a Linux distribution from the Microsoft Store. Popular choices include Ubuntu, Debian, and Kali Linux. Search for the desired distribution in the Microsoft Store, and click on "Get" to install it. Step 3: Launch the Linux distribution
  • After installation, you can launch the Linux distribution from the Start menu, or by...
To install and use the evtest tool on Windows, you'll need to follow these steps: Step 1: Install WSL (Windows Subsystem for Linux)
  • To enable a Linux environment on your Windows system, you need to install WSL. This can be done by following the official Microsoft documentation on how to enable WSL: Install WSL Step 2: Install a Linux distribution
  • Once WSL is installed, you can choose and install a Linux distribution from the Microsoft Store. Popular choices include Ubuntu, Debian, and Kali Linux. Search for the desired distribution in the Microsoft Store, and click on "Get" to install it. Step 3: Launch the Linux distribution
  • After installation, you can launch the Linux distribution from the Start menu, or by simply typing the distribution's name in the Windows search bar. Step 4: Update the Linux distribution
  • Once the Linux distribution is running, update its package repository by executing the following command in the terminal: sudo apt update Step 5: Install evtest
  • Now that the package repository is up to date, you can install evtest by executing the following command: sudo apt install evtest Step 6: Run evtest
  • Connect the keyboard that you want to remap to your Windows system.
  • In the Linux terminal, run the 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
  • Look for an entry that corresponds to your keyboard (e.g., /dev/input/eventX), and then run evtest with that path. For example: sudo evtest /dev/input/eventX Step 7: Remap the keyboard keys
  • The evtest 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.
  • Create a udev rules file to remap the key. For example, create a file named 99-keyboard-remap.rules and add the following line (replace KEY_A and KEY_B with the appropriate event codes):
    Code:
    evdev:input:bXXXXXXXXX KEY_A=KEY_B
  • Save the file and copy it into the correct udev rules directory by running: 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.
 


Solution
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
Please reply with link to that program.
How's Opera working out?
 


Back
Top