-
Notifications
You must be signed in to change notification settings - Fork 0
Key Remapper
Kenichi Kamiya edited this page Dec 17, 2024
·
15 revisions
Tested with USB and Bluetooth connected devices.
Especially for USB, using tools like cyme helps several preparation steps.
- Connect the device
- Kill xremap. Running xremap grabs keyboard events and cannot be checked with
evtest
-
evtest
with no arguments runs under interactive device selector - Input before and after keys. And note them
- Add entry in
extraHwdb
as https://github.com/kachick/dotfiles/blob/9e56c304d1c13536e5f3ae5934f9317192947595/nixos/hardware.nix#L9-L20 - Rebuild and reboot. Don't use
sudo systemd-hwdb update && sudo udevadm trigger
except debugging purpose.
- List - https://wiki.archlinux.jp/index.php/%E5%85%A5%E5%8A%9B%E3%83%AA%E3%83%9E%E3%83%83%E3%83%97%E3%83%A6%E3%83%BC%E3%83%86%E3%82%A3%E3%83%AA%E3%83%86%E3%82%A3
- udevadm
- https://github.com/xremap/nix-flake => https://github.com/kachick/dotfiles/issues/784
- xmodmap => https://github.com/kachick/times_kachick/issues/174
- https://github.com/rvaiya/keyd # https://harenuma.hatenablog.com/entry/2023/12/14/073830
- https://github.com/NixOS/nixpkgs/pull/181361#issuecomment-2018146424
- https://github.com/sezanzeb/input-remapper
- https://github.com/jtroo/kanata - https://github.com/kachick/dotfiles/pull/995
- kmonad # on macos, actually depends on Karabiner-DriverKit-VirtualHIDDevice
- https://github.com/houmain/keymapper # on macOS, actually depends on Karabiner-Element's virtual device driver