This commit is contained in:
biscuit
2025-06-19 17:18:02 -05:00
parent 50813851cb
commit e33dbea82e
3 changed files with 83 additions and 0 deletions
+1
View File
@@ -2,5 +2,6 @@
imports = [
../../pkgs/btop/default.nix
../../pkgs/matugen/default.nix
../../pkgs/logiops/default.nix
];
}
+77
View File
@@ -0,0 +1,77 @@
devices: (
{
name: "MX Master 3S";
smartshift:
{
on: true;
threshold: 30;
torque: 50;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
dpi: 8000;
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_UP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_DOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "CycleDPI";
dpis: [400, 600, 800, 1000, 1200, 1400, 1600];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type = "ToggleSmartshift";
}
},
{
direction: "None"
mode: "NoPress"
}
);
};
},
{
cid: 0xc4;
action =
{
type: "Keypress";
keys: ["KEY_A"];
};
}
);
}
);
+5
View File
@@ -0,0 +1,5 @@
{...}: {
home.file.".config/logiops/logid.cfg" = {
source = "./custom/logid.cfg";
};
}