nix-configs/hosts/catbook-j/modules/input.nix
2024-05-06 21:32:14 +02:00

27 lines
533 B
Nix

{...}: {
# key remapping
jade.input.remapping = {
enable = true;
devices."AT Translated Set 2 keyboard" = {
swapKeys = [
["KEY_Y" "KEY_Z"]
["KEY_LEFTALT" "KEY_LEFTMETA"]
];
dual_role = [
{
input = "KEY_CAPSLOCK";
hold = ["KEY_LEFTCTRL"];
tap = ["KEY_ESC"];
}
];
};
};
hardware.trackpoint = {
enable = true;
device = "TPPS/2 IBM TrackPoint";
sensitivity = 256;
};
services.libinput.touchpad.tapping = false;
}