Use evremap instead of evdevremapkeys
Cause it keeps crashing and evremap is written in Rust
This commit is contained in:
parent
86a997a08f
commit
c1cea2fc99
1 changed files with 8 additions and 9 deletions
|
|
@ -323,15 +323,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.evdevremapkeys = {
|
services.evremap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.devices = [ {
|
settings = {
|
||||||
input_name = "Logitech MX Vertical";
|
device_name = "Logitech MX Vertical";
|
||||||
output_name = "Logitech MX Vertical (remapped)";
|
remap = [
|
||||||
remappings = {
|
{ input = [ "BTN_EXTRA" ]; output = [ "BTN_MIDDLE" ]; }
|
||||||
BTN_EXTRA = [ "BTN_MIDDLE" ];
|
{ input = [ "BTN_SIDE" ]; output = [ "BTN_MIDDLE" ]; }
|
||||||
BTN_SIDE = [ "BTN_MIDDLE" ];
|
];
|
||||||
};
|
};
|
||||||
} ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue