nix-configs/hosts/denkbrett/modules/input.nix

28 lines
532 B
Nix
Raw Permalink Normal View History

2024-03-06 11:31:47 +01:00
{...}: {
# 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";
2024-03-08 07:57:32 +01:00
sensitivity = 256;
2024-03-06 11:31:47 +01:00
};
2024-10-03 19:31:56 +02:00
services.libinput.touchpad.tapping = true;
2024-03-06 11:31:47 +01:00
}