Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom config for MX Master 3S #481

Open
MatinEbrahimkhani opened this issue Nov 25, 2024 · 0 comments
Open

Custom config for MX Master 3S #481

MatinEbrahimkhani opened this issue Nov 25, 2024 · 0 comments

Comments

@MatinEbrahimkhani
Copy link

Hey everyone, I just finished customizing the LogiOps configuration for MX Master 3S. I think you can use the configuration and change it to meet your needs. Anyway, here is my config file. If you have any questions, please comment.

devices: (
  {
    name: "MX Master 3S";
    smartshift: {
      on: true;
      threshold: 20;
    };
    hiresscroll: {
      hires: true;
      invert: false;
      target: false;
    };
    dpi: 1300; // max=4000
    buttons: (
      {
        cid: 0x56; // Forward button
        action = {
          type: "Gestures";
          gestures: (
              {
                direction: "None",
                mode: "OnRelease",
                
                action: {
                  type: "Keypress",
                  keys: ["KEY_LEFTCTRL", "KEY_C"]
                }
              },
              {
                direction: "Left",
                mode: "OnRelease",
                threshold: 20;
                action: {
                  type: "Keypress",
                  keys: ["KEY_BACK"]
                }
              },
              {
                direction: "Right",
                mode: "OnRelease",
                threshold: 20;
                action: {
                  type: "Keypress",
                  keys: ["KEY_FORWARD"]
                }
              }
         )
        }  
      },
      {
        cid: 0x53; // Back button
        action = {
          type: "Gestures";
          gestures: (
              {
                direction: "None",
                mode: "OnRelease",
                
                action: {
                  type: "Keypress",
                  keys: ["KEY_LEFTCTRL", "KEY_V"]  // This sends Ctrl+V for paste
                }
              },
              {
                direction: "Left",
                mode: "OnRelease",
                threshold: 20;
                action: {
                  type: "Keypress",
                  keys: ["KEY_BACK"]
                }
              },
              {
                direction: "Right",
                mode: "OnRelease",
                threshold: 20;
                action: {
                  type: "Keypress",
                  keys: ["KEY_FORWARD"]
                }
              }
         )
        } 
      },
      {
        cid: 0xc3; // Thumb button
        action = {
          type: "Gestures";
          gestures: (
            {
              direction: "Up";
             mode: "OnInterval";
            threshold: 20;
            interval: 50;
            action = {
              type: "Keypress";
              keys: [ "KEY_VOLUMEUP" ]; // Volume up
              };
            },
            {
              direction: "Down";
             mode: "OnInterval";
            threshold: 20;
            interval: 50;
            action = {
              type: "Keypress";
              keys: [ "KEY_VOLUMEDOWN" ]; // Volume Down
              };
            },
            {
              direction: "Left";
              mode: "OnRelease";
              action = {
                type: "Keypress";
                keys: ["KEY_PREVIOUSSONG"];
              };
            },
            {
              direction: "Right";
              mode: "OnRelease";
              action = {
                type: "Keypress";
                keys: ["KEY_NEXTSONG"];
              };
            },
            {
              direction: "None";
              mode: "OnRelease";
              action = {
                type: "Keypress";
                keys: ["KEY_PLAYPAUSE"];
              };
            }
          );
        };
      },
      {
    # Button behind the scroll
    cid: 0xc4;
    action =
    {
      type = "ToggleSmartshift";
    };
  }
    );
  }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant