make linearmouse config mouse specific

This commit is contained in:
Yan Lin 2025-12-10 23:35:21 +01:00
parent d1e601f3a2
commit b0e15981eb

View file

@ -6,28 +6,27 @@
"$schema" = "https://schema.linearmouse.app/0.10.2"; "$schema" = "https://schema.linearmouse.app/0.10.2";
schemes = [ schemes = [
{ {
"if" = { "if".device.productName = "MX Master 3 Mac";
device = { scrolling.reverse.vertical = true;
category = "mouse";
};
};
scrolling = {
reverse = {
vertical = true;
};
};
pointer = { pointer = {
acceleration = 0; acceleration = 0;
speed = 0.6; speed = 0.6;
}; };
buttons = { buttons.mappings = [
mappings = [
{ button = 3; action = "appExpose"; } { button = 3; action = "appExpose"; }
{ button = 4; action = "missionControl"; } { button = 4; action = "missionControl"; }
{ button = 2; action = "smartZoom"; } { button = 2; action = "smartZoom"; }
{ scroll = "left"; action = { keyPress = [ "leftArrow" ]; }; } { scroll = "left"; action = { keyPress = [ "leftArrow" ]; }; }
{ scroll = "right"; action = { keyPress = [ "rightArrow" ]; }; } { scroll = "right"; action = { keyPress = [ "rightArrow" ]; }; }
]; ];
}
{
"if".device = {
vendorID = "0x004C";
productID = "0x0269";
};
pointer = {
acceleration = 0;
}; };
} }
]; ];