test
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../pkgs/btop/default.nix
|
../../pkgs/btop/default.nix
|
||||||
../../pkgs/matugen/default.nix
|
../../pkgs/matugen/default.nix
|
||||||
|
../../pkgs/logiops/default.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{...}: {
|
||||||
|
home.file.".config/logiops/logid.cfg" = {
|
||||||
|
source = "./custom/logid.cfg";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user