Skip to content

Commit

Permalink
Extract and update key remapping steps with Wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Nov 22, 2024
1 parent 2933ae2 commit 20275bb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nixos/hardware.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
{
services.udev = {
enable = true;
# Settings keyremap in raw layer than X. See GH-784
# Settings keyremap in raw layer than X. See GH-784 for background. And see https://github.com/kachick/dotfiles/wiki/Key-Remapper for the guide
#
# - Specify hardware names even if `evdev:input:*` working for mostcase. I should care both US and JIS layout
# - How to get the KEYBOARD_KEY_700??: `evtest /dev/input/event??`
# - How to get the hardware name:: `udevadm info --attribute-walk /dev/input/event?? | grep -F 'ATTRS{name}'`
# - How to apply?: Rebuild and reboot. Don't use `sudo systemd-hwdb update && sudo udevadm trigger` except debugging purpose.
# Specify hardware names even if `evdev:input:*` working for mostcase. I should care both US and JIS layout
extraHwdb = lib.mkBefore ''
evdev:name:Topre REALFORCE 87 US:*
KEYBOARD_KEY_70039=leftctrl # original: capslock
Expand Down

0 comments on commit 20275bb

Please sign in to comment.