You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
2.4 KiB
112 lines
2.4 KiB
1 year ago
|
devices: (
|
||
|
{
|
||
|
name: "MX Master 3S";
|
||
|
smartshift:
|
||
|
{
|
||
|
on: true;
|
||
|
threshold: 30;
|
||
|
};
|
||
|
hiresscroll:
|
||
|
{
|
||
|
hires: false;
|
||
|
invert: false;
|
||
|
target: false;
|
||
|
};
|
||
|
dpi: 1000;
|
||
|
|
||
|
thumbwheel:
|
||
|
{
|
||
|
divert: true;
|
||
|
invert: false;
|
||
|
left:
|
||
|
{
|
||
|
threshold: 1;
|
||
|
interval: 10;
|
||
|
direction: "Left";
|
||
|
mode: "OnInterval";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_VOLUMEDOWN"];
|
||
|
};
|
||
|
};
|
||
|
right:
|
||
|
{
|
||
|
threshold: 1;
|
||
|
interval: 10;
|
||
|
direction: "Right";
|
||
|
mode: "OnInterval";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_VOLUMEUP"];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
buttons: (
|
||
|
{
|
||
|
cid: 0xc3;
|
||
|
action =
|
||
|
{
|
||
|
type: "Gestures";
|
||
|
gestures: (
|
||
|
{
|
||
|
direction: "Up";
|
||
|
threshold: 50;
|
||
|
mode: "OnRelease";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_UP"];
|
||
|
};
|
||
|
},
|
||
|
{
|
||
|
direction: "Down";
|
||
|
threshold: 50;
|
||
|
mode: "OnRelease";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_DOWN"];
|
||
|
};
|
||
|
},
|
||
|
{
|
||
|
direction: "Left";
|
||
|
threshold: 50;
|
||
|
mode: "OnRelease";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_RIGHTMETA", "KEY_PAGEUP"];
|
||
|
};
|
||
|
},
|
||
|
{
|
||
|
direction: "Right";
|
||
|
threshold: 50;
|
||
|
mode: "OnRelease";
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_RIGHTMETA", "KEY_PAGEDOWN"];
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
direction: "None"
|
||
|
mode: "NoPress"
|
||
|
}
|
||
|
);
|
||
|
};
|
||
|
},
|
||
|
{
|
||
|
cid: 0xc4;
|
||
|
action =
|
||
|
{
|
||
|
type: "Keypress";
|
||
|
keys: ["KEY_A"];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|
||
|
);
|