Skip to content

Feature Request: Side Button Click-and-Drag Mouse Gestures #1024

Description

@bibinthomas123

Problem | 问题背景

I use Mos on macOS with a mouse that has additional side buttons. Currently, I can assign actions to these buttons, but there is no way to trigger an action specifically when I click and hold a side button while dragging the mouse.

This would be useful for creating mouse gestures and more advanced workflows. For example, holding a side button and dragging left/right/up/down could trigger different actions, allowing users to interact with macOS more efficiently without relying on keyboard shortcuts.

Proposed Solution | 期望方案

Add support for click-and-drag gestures using mouse side buttons.

For example:

  • Hold Side Button 1 + drag left → perform Action A
  • Hold Side Button 1 + drag right → perform Action B

Ideally, users could configure the action associated with each gesture directly in the Mos settings.

It would also be useful to support a minimum drag distance before the gesture is triggered, so normal clicks and accidental mouse movement do not activate an action.

Alternatives Considered | 备选方案

Currently, the closest alternative is assigning a single action to the side button itself. However, this does not provide directional gestures while holding the button.

Using third-party mouse gesture applications is also possible, but having this functionality built directly into Mos would provide a more integrated experience.

Scope | 范围

  • Small bug fix or polish | 小范围修复或体验优化
  • Documentation / localization | 文档或本地化
  • Existing feature improvement | 现有功能改进
  • Larger feature or module | 较大的新增功能或模块

Environment | 环境信息

  • Mos version | Mos 版本: [4.2.1]
  • macOS version | macOS 版本: [Tahoe 26.6.2]
  • Mouse / trackpad model, if relevant | 相关鼠标 / 触控板型号: Mouse with programmable side buttons
  • Affected application, if relevant | 相关应用: System-wide

Additional Context | 额外说明

The main use case is to make side buttons more useful by turning them into mouse gesture modifiers.

For example, instead of having:

Side Button → Back

I would like to be able to configure:

Hold Side Button + Drag Left → Back

Hold Side Button + Drag Right → Forward

This could make Mos much more flexible for users with mice that have multiple programmable buttons.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions