Skip to content

Instantly share code, notes, and snippets.

@vrdominguez
Last active September 16, 2021 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrdominguez/5d303eb37c1aa41f8a9560455ff42726 to your computer and use it in GitHub Desktop.
Save vrdominguez/5d303eb37c1aa41f8a9560455ff42726 to your computer and use it in GitHub Desktop.
Configuración de logid para MX Master 3
devices: (
{
name: "Wireless Mouse MX Master 3";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{
hires: true;
invert: false;
target: true;
up: {
mode: "Axis";
axis: "REL_WHEEL_HI_RES";
axis_multiplier: 1;
},
down: {
mode: "Axis";
axis: "REL_WHEEL_HI_RES";
axis_multiplier: -1;
},
};
dpi: 1600;
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
# Maximizar ventana
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_UP"];
};
},
{
# Restaurar ventana
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_DOWN"];
};
},
{
# Ventana alineada a la izquierda
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFT"];
};
},
{
# Ventana alineada a la derecha
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_RIGHT"];
}
},
{
direction: "None"
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA"];
}
}
);
};
},
{
cid: 0xc4;
action =
{
type = "ToggleSmartshift";
};
},
#{
# # Next tab instead of fwd in history, Comment to default behavior
# cid: 0x53;
# action =
# {
# type : "Keypress";
# keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"];
# };
#},
#{
# # Previous tab instead of back in history, Comment to default behavior
# cid: 0x56;
# action =
# {
# type : "Keypress";
# keys: ["KEY_LEFTCTRL", "KEY_PAGEDOWN"];
# };
#}
);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment