Adds evremap
This commit is contained in:
parent
de51e76fa3
commit
19693869bb
3 changed files with 36 additions and 1 deletions
17
.config/evremap/evremap.toml##class.Laptop
Normal file
17
.config/evremap/evremap.toml##class.Laptop
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# The name of the device to remap.
|
||||||
|
# Run `sudo evremap list-devices` to see the devices available
|
||||||
|
# on your system.
|
||||||
|
device_name = "Keychron Keychron Q10 Max Keyboard"
|
||||||
|
|
||||||
|
# If you have multiple devices with the same name, you can optionally
|
||||||
|
# specify the `phys` value that is printed by the `list-devices` subcommand
|
||||||
|
# phys = "usb-0000:07:00.3-2.1.1/input0"
|
||||||
|
|
||||||
|
# Configure CAPSLOCK as a Dual Role key.
|
||||||
|
# Holding it produces LEFTCTRL, but tapping it
|
||||||
|
# will produce ESC.
|
||||||
|
# Both `tap` and `hold` can expand to multiple output keys.
|
||||||
|
[[dual_role]]
|
||||||
|
input = "KEY_CAPSLOCK"
|
||||||
|
hold = ["KEY_LEFTCTRL"]
|
||||||
|
tap = ["KEY_ESC"]
|
||||||
17
.config/evremap/evremap.toml##class.PC
Normal file
17
.config/evremap/evremap.toml##class.PC
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# The name of the device to remap.
|
||||||
|
# Run `sudo evremap list-devices` to see the devices available
|
||||||
|
# on your system.
|
||||||
|
device_name = "Keychron Keychron Q10 Max"
|
||||||
|
|
||||||
|
# If you have multiple devices with the same name, you can optionally
|
||||||
|
# specify the `phys` value that is printed by the `list-devices` subcommand
|
||||||
|
# phys = "usb-0000:07:00.3-2.1.1/input0"
|
||||||
|
|
||||||
|
# Configure CAPSLOCK as a Dual Role key.
|
||||||
|
# Holding it produces LEFTCTRL, but tapping it
|
||||||
|
# will produce ESC.
|
||||||
|
# Both `tap` and `hold` can expand to multiple output keys.
|
||||||
|
[[dual_role]]
|
||||||
|
input = "KEY_CAPSLOCK"
|
||||||
|
hold = ["KEY_LEFTCTRL"]
|
||||||
|
tap = ["KEY_ESC"]
|
||||||
|
|
@ -3,4 +3,5 @@
|
||||||
echo "# Installing keymapping"
|
echo "# Installing keymapping"
|
||||||
|
|
||||||
yay -S --needed evremap
|
yay -S --needed evremap
|
||||||
sudo ln -s -f ~/.config/evremap.toml /etc/evremap.toml
|
sudo ln -s -f ~/.config/evremap/evremap.toml /etc/evremap.toml
|
||||||
|
sudo systemctl enable --now evremap
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue