Major refactoring, transferring from masterd

This commit is contained in:
PixlOne
2019-07-17 01:53:51 -04:00
parent 2190b527a7
commit 9c092edcf3
17 changed files with 1653 additions and 0 deletions
+71
View File
@@ -0,0 +1,71 @@
devices: (
{
name: "MX Master";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll: true;
dpi: 1000;
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"];
};
}
);
}
);