[GH-ISSUE #1173] [Feature Request] Only switch at screen edge if modifier key pressed #945

Open
opened 2026-05-05 07:19:00 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Mehuge on GitHub (May 28, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1173

MouseWithoutBorders has this feature and its really nice.

The mouse will only switch to the other device if a modifier key (ctrl for example) is currently held down. Great for games that capture the mouse (and don't show its position) as you can end up with the mouse at the edge of the screen and still be moving further, plus left/right movement may be interpreted as a bounce.

Originally created by @Mehuge on GitHub (May 28, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1173 MouseWithoutBorders has this feature and its really nice. The mouse will only switch to the other device if a modifier key (ctrl for example) is currently held down. Great for games that capture the mouse (and don't show its position) as you can end up with the mouse at the edge of the screen and still be moving further, plus left/right movement may be interpreted as a bounce.
Author
Owner

@lededev commented on GitHub (May 29, 2021):

you can define hotkeys in barrier to switch between computers. And set computers no boarder connect.

section: links
        PC1:
        PC2:
end

section: options
        keystroke(Control+Alt+a) = switchToScreen(PC1)
        keystroke(Control+Alt+z) = switchToScreen(PC2)
end

<!-- gh-comment-id:850842727 --> @lededev commented on GitHub (May 29, 2021): you can define hotkeys in barrier to switch between computers. And set computers no boarder connect. ``` section: links PC1: PC2: end section: options keystroke(Control+Alt+a) = switchToScreen(PC1) keystroke(Control+Alt+z) = switchToScreen(PC2) end ```
Author
Owner

@edgan commented on GitHub (Jun 12, 2021):

Can you also do this by using scroll-lock to lock the mouse to the display you are currently on?

<!-- gh-comment-id:860099227 --> @edgan commented on GitHub (Jun 12, 2021): Can you also do this by using scroll-lock to lock the mouse to the display you are currently on?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#945
No description provided.