Last active
March 5, 2021 11:08
-
-
Save dargmuesli/0ec8a6e6163e7c4e051b27041ce61b5a to your computer and use it in GitHub Desktop.
Replace a keebinding for a Doosl wireless presenter on Linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Use evtest on last "Genius Wireless Mouse" device. | |
cat >"/etc/udev/hwdb.d/90-custom-presenter.hwdb" <<EOL | |
evdev:input:b0003v0458p0189* | |
KEYBOARD_KEY_70051=space | |
KEYBOARD_KEY_70052=p | |
EOL | |
sudo systemd-hwdb update | |
sudo udevadm trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment