2024-03-06 10:31:47 +00: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 06:57:32 +00:00
|
|
|
sensitivity = 256;
|
2024-03-06 10:31:47 +00:00
|
|
|
};
|
|
|
|
|
2024-10-03 17:31:56 +00:00
|
|
|
services.libinput.touchpad.tapping = true;
|
2024-03-06 10:31:47 +00:00
|
|
|
}
|