devices: ( { name: "Wireless Mouse MX Master 3"; smartshift: { on: true; threshold: 30; }; hiresscroll: { hires: true; invert: false; target: false; }; dpi: 1400; buttons: ( { cid: 0xc3; action = { type: "Gestures"; gestures: ( { direction: "Up"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTCTRL", "KEY_F10"]; }; }, { direction: "Down"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_PLAYPAUSE"]; }; }, { direction: "Left"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_LEFT"]; }; }, { direction: "Right"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_RIGHT"]; } }, { direction: "None" mode: "NoPress" } ); }; }, { 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"]; }; } ); }, );