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;
|
||||
settings.devices = [ {
|
||||
input_name = "Logitech MX Vertical";
|
||||
output_name = "Logitech MX Vertical (remapped)";
|
||||
remappings = {
|
||||
BTN_EXTRA = [ "BTN_MIDDLE" ];
|
||||
BTN_SIDE = [ "BTN_MIDDLE" ];
|
||||
};
|
||||
} ];
|
||||
settings = {
|
||||
device_name = "Logitech MX Vertical";
|
||||
remap = [
|
||||
{ input = [ "BTN_EXTRA" ]; output = [ "BTN_MIDDLE" ]; }
|
||||
{ input = [ "BTN_SIDE" ]; output = [ "BTN_MIDDLE" ]; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue