Skip to content

Add hold-right-click as a modifier #542

Open

Description

@eugenesvk

OS

13.4.1 (22F82)

LinearMouse

0.9.2

Is your feature request related to a problem?

I'd like to be able to have an option to scroll very fast without involving keyboard. Currently I use a keyboard modifier for that

Describe the solution you'd like

Be able to assign "hold right click" or any other mouse button (like side buttons) as a modifier while scrolling

Describe alternatives you've considered

Tried BTT, but it couldn't get the level of smooth scrolling that linearmouse is capable of

Additional context

Another bright idea :) given that right mouse click is default for context menu that would prevent scrolling from working, maybe a smarter way would be to allow disabling it WHILE scrolling, so that you could start scrolling normally, then click and hold right mouse button, and instead of a contex menu you'd just get uber-fast scrolling!

Activity

  1. added
    enhancement
    on Jul 17, 2023
  2. lujjjh commented on Jul 22, 2023

    @lujjjh
    Collaborator

    Thanks for your feedback!

    Perhaps this feature requires careful consideration. The easiest way to implement it would be to use a certain button (like the right mouse button) only as a modifier, thereby depriving it of its original function. However, this clearly does not meet your expectations.

    Enabling this feature only when scrolling normally and then right-clicking during scrolling may also cause some issues. For instance, if the mouse wheel is not continuous, there is no real "scrolling during" period. Furthermore, this operation appears to be somewhat nonintuitive.

    One solution that comes to mind is to simply do nothing when the right mouse button is pressed. If scrolling actions triggered before the button is released, it would be treated as a modifier key. Otherwise, the button press and release actions would be sent simultaneously upon release. The downside of this approach is that the right mouse button press action would be delayed until the button is released, causing the context menu to appear only after the right mouse button is released. In certain applications, such as games, this could have a significant impact.

    So, I haven't figured out how to implement this feature yet. If you have any better ideas, feel free to continue the discussion.

  3. eugenesvk commented on Jul 22, 2023

    @eugenesvk
    Author

    Thanks for considering this feature

    For instance, if the mouse wheel is not continuous, there is no real "scrolling during" period.

    Sure, that would be the obvious limitation, but then for better mice it would still work, so it's still a net positive. But even for those mice you would be able to use it - just have to press the modifier before a scroll

    Furthermore, this operation appears to be somewhat nonintuitive

    Maybe, to me it's just another "speed boost" modifier no different from my current keyboard mod (which also allows pressing during scrolling)

    In certain applications, such as games, this could have a significant impact.

    That's why your great app has app filters! Although as far as I understand currently it only has app-specific settings and doesn't allow "all apps except for" exclusions, so maybe in addition to the "All apps" menu item you could have "Except for apps"?

    Otherwise usually context menu clicks are very short, so it should't have an impact

    So then there are two ways to add this feature:

    • before scrolling: your approach of hiding key down until key up (with an exclusion list of "games")
    • during scrolling: suppress key down to avoid context menu from appearing (key up shouldn't bring it up, so doesn't need to be suppressed?)
  4. github-actions commented on Sep 21, 2023

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  5. lujjjh commented on Sep 21, 2023

    @lujjjh
    Collaborator

    Not stale.

  6. github-actions commented on Nov 21, 2023

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  7. github-actions commented on Jan 21, 2024

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  8. github-actions commented on Mar 22, 2024

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  9. 15 remaining items

  10. github-actions commented on May 27, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  11. github-actions commented on Jul 27, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  12. github-actions commented on Sep 26, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  13. github-actions commented on Nov 26, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

  14. eugenesvk commented on Nov 26, 2025

    @eugenesvk
    Author

    .

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions