devices: ( { name: "MX Master 2S"; smartshift: { on: true; threshold: 13; }; hiresscroll: { hires: true; invert: false; target: false; }; dpi: 1200; buttons: ( { cid: 0xc3; action = { type: "Gestures"; gestures: ( { direction: "Up"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_J"]; }; }, { direction: "Down"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_K"]; }; }, { direction: "Left"; mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_G"]; }; }, { direction: "Right"; mode: "OnRelease"; action = { type: "Keypress" keys: ["KEY_LEFTMETA", "KEY_SEMICOLON"]; }; }, { direction: "None" mode: "OnRelease"; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_TAB"]; } } ); }; }, { cid: 0xc4; action = { type = "ToggleSmartshift"; }; }, ); } );