[GH-ISSUE #1501] Magic Mouse horizontal scrolling does not work, but Macbook trackpad side scroll works as expected #1138

Open
opened 2026-05-05 07:31:37 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @s-daveb on GitHub (Jan 6, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1501

What happened?

Configuration

Macbook Pro x86_64 2017, macOS 12.1, Barrier 2.40-release-433126e7 
Macbook Air  M1    2020, macOS 12.1, Barrier 2.40-release-3e0d758b (x86_64)

Summary

I'm unsure if this is related to #591,...but it's been my experience that when I use my magic mouse on my Macbook Pro, I'm unable to use it to scroll a browser window horizontally on my Macbook Air Client. The reverse however, works as expected - using the Macbook Air as a server, and the Macbook Pro as a client, I can scroll in any direction using the macbook Air trackpad.

I'm not sure if this would count as a gesture and should be part of #591, or if trackpad side scrolling as added after #591 was created, nor am I sure that horizontal scrolling is detected on a magic mouse works similarly to a trackpad, but I thought this should maybe be a separate issue.

Version

v2.4.0

Git commit hash (if applicable)

433126e7

If applicable, where did you install Barrier from?

Homebrew

What OSes are you seeing the problem on? (Check all that apply)

macOS

What OS versions are you using?

macOS 12.1

Relevant log output

No response

Any other information

No response

Originally created by @s-daveb on GitHub (Jan 6, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1501 ### What happened? # Configuration ``` Macbook Pro x86_64 2017, macOS 12.1, Barrier 2.40-release-433126e7 Macbook Air M1 2020, macOS 12.1, Barrier 2.40-release-3e0d758b (x86_64) ``` ## Summary I'm unsure if this is related to #591,...but it's been my experience that when I use my magic mouse on my Macbook Pro, I'm unable to use it to scroll a browser window horizontally on my Macbook Air Client. The reverse however, works as expected - using the Macbook Air as a server, and the Macbook Pro as a client, I can scroll in any direction using the macbook Air trackpad. I'm not sure if this would count as a gesture and should be part of #591, or if trackpad side scrolling as added after #591 was created, nor am I sure that horizontal scrolling is detected on a magic mouse works similarly to a trackpad, but I thought this should maybe be a separate issue. ### Version v2.4.0 ### Git commit hash (if applicable) 433126e7 ### If applicable, where did you install Barrier from? Homebrew ### What OSes are you seeing the problem on? (Check all that apply) macOS ### What OS versions are you using? macOS 12.1 ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@ElhemEnohpi commented on GitHub (Jan 19, 2022):

I think you're correct that this is a separate issue. It's not related to #591 because "multitouch gestures" are the things unique to Macs - three- and four-finger gestures, squeeze and pinch, etc., which are not supported at all in Barrier. Horizontal scrolling is a universal, cross-platform feature that's part of the basic mouse scrolling functionality of Barrier. If it doesn't work with a Magic Mouse, I'm not sure why not - I don't have one to test, sorry - but it's a different issue than #591.

Btw., you say it "works as expected" when using the trackpad. Do you not find that the horizontal scroll direction is reversed, as described in #476?

<!-- gh-comment-id:1016179727 --> @ElhemEnohpi commented on GitHub (Jan 19, 2022): I think you're correct that this is a separate issue. It's not related to #591 because "multitouch gestures" are the things unique to Macs - three- and four-finger gestures, squeeze and pinch, etc., which are not supported at all in Barrier. Horizontal scrolling is a universal, cross-platform feature that's part of the basic mouse scrolling functionality of Barrier. If it doesn't work with a Magic Mouse, I'm not sure why not - I don't have one to test, sorry - but it's a different issue than #591. Btw., you say it "works as expected" when using the trackpad. Do you not find that the horizontal scroll direction is reversed, as described in #476?
Author
Owner

@s-daveb commented on GitHub (Jan 20, 2022):

Ah, I think I understand why it doesn't work now… thanks for taking the time to explain.
And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected.

<!-- gh-comment-id:1017610215 --> @s-daveb commented on GitHub (Jan 20, 2022): Ah, I think I understand why it doesn't work now… thanks for taking the time to explain. And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected.
Author
Owner

@bgbruno commented on GitHub (May 30, 2022):

@ElhemEnohpi @s-daveb I think this issue is related to "OS Setting" and #barrier somehow read "Default PC behaviour" instead of

System Preferences > Mouse > Scroll direction: Natural

===

System Preferences > Trackpad > Scroll & Zoom > Scroll direction: Natural
<!-- gh-comment-id:1140587360 --> @bgbruno commented on GitHub (May 30, 2022): @ElhemEnohpi @s-daveb I think this issue is related to "OS Setting" and #barrier somehow read "Default PC behaviour" instead of ``` System Preferences > Mouse > Scroll direction: Natural ``` === ``` System Preferences > Trackpad > Scroll & Zoom > Scroll direction: Natural ```
Author
Owner

@Chiwency commented on GitHub (Oct 10, 2023):

Ah, I think I understand why it doesn't work now… thanks for taking the time to explain. And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected.

I have the same problem, how did you fix it?

<!-- gh-comment-id:1754790738 --> @Chiwency commented on GitHub (Oct 10, 2023): > Ah, I think I understand why it doesn't work now… thanks for taking the time to explain. And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected. I have the same problem, how did you fix it?
Author
Owner

@s-daveb commented on GitHub (Oct 11, 2023):

Ah, I think I understand why it doesn't work now… thanks for taking the time to explain. And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected.

I have the same problem, how did you fix it?

I honestly do not remember...
I switched to a fork of Barrier that seems to be more maintained.
Check out https://github.com/input-leap/input-leap

<!-- gh-comment-id:1758398385 --> @s-daveb commented on GitHub (Oct 11, 2023): > > Ah, I think I understand why it doesn't work now… thanks for taking the time to explain. And actually as far as #476, I'm not seeing that reversed behavior on my Macbook Air Touchpad. It works as expected. > > I have the same problem, how did you fix it? I honestly do not remember... I switched to a fork of Barrier that seems to be more maintained. Check out https://github.com/input-leap/input-leap
Author
Owner

@Chiwency commented on GitHub (Oct 12, 2023):

Thank you, It helps a lot, and I will switch it too. What's more, I had found the true reason. It's the X-Mouse Button Control disabled my mouse scroll.

<!-- gh-comment-id:1758821548 --> @Chiwency commented on GitHub (Oct 12, 2023): Thank you, It helps a lot, and I will switch it too. What's more, I had found the true reason. It's the X-Mouse Button Control disabled my mouse scroll.
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#1138
No description provided.