make linearmouse config mouse specific
This commit is contained in:
parent
d1e601f3a2
commit
b0e15981eb
1 changed files with 17 additions and 18 deletions
|
|
@ -6,28 +6,27 @@
|
|||
"$schema" = "https://schema.linearmouse.app/0.10.2";
|
||||
schemes = [
|
||||
{
|
||||
"if" = {
|
||||
device = {
|
||||
category = "mouse";
|
||||
};
|
||||
};
|
||||
scrolling = {
|
||||
reverse = {
|
||||
vertical = true;
|
||||
};
|
||||
};
|
||||
"if".device.productName = "MX Master 3 Mac";
|
||||
scrolling.reverse.vertical = true;
|
||||
pointer = {
|
||||
acceleration = 0;
|
||||
speed = 0.6;
|
||||
};
|
||||
buttons = {
|
||||
mappings = [
|
||||
buttons.mappings = [
|
||||
{ button = 3; action = "appExpose"; }
|
||||
{ button = 4; action = "missionControl"; }
|
||||
{ button = 2; action = "smartZoom"; }
|
||||
{ scroll = "left"; action = { keyPress = [ "leftArrow" ]; }; }
|
||||
{ scroll = "right"; action = { keyPress = [ "rightArrow" ]; }; }
|
||||
];
|
||||
}
|
||||
{
|
||||
"if".device = {
|
||||
vendorID = "0x004C";
|
||||
productID = "0x0269";
|
||||
};
|
||||
pointer = {
|
||||
acceleration = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue