Barrier: Additional mouse button support

Created on 28 May 2018  路  9Comments  路  Source: debauchee/barrier

Operating Systems

Server: Fedora 28

Client: Windows 10 Build 1803

Barrier Version

2.1.0

Steps to reproduce bug

  1. Use a mouse that has additional buttons (i.e forward and back buttons)
  2. Try and use those buttons while in the client

Other info

It would be nice if at least the forward and back buttons would work.

enhancement help wanted

Most helpful comment

Hi, here's a patch with yupi2's changes modified to apply correctly to barrier.

https://github.com/vorph1/barrier/commit/5111f402d0d3c7fa3e085696ef146d19b154e6dc

Back/forward buttons and horizontal scroll work but there's some instability. I'm not sure if that's from the patch or the master branch is unstable itself as I only applied to head and not any stable releases.
Tested only linux server and win10 client so far.

All 9 comments

I got forward&back buttons working along with horizontal scroll some time ago. Works on X11 & Win32 but I never tested on OSX.
main patch:

later patch to suppress warning:

If/when someone applies the patch remember to include my author information for git.

Can someone make a PR for this please?

Inactive for over 2 months. Closing (but would still like to have the PR!)

Inactive for over 2 months. Closing (but would still like to have the PR!)

What's the most effective way to get this patch integrated? I'd really like to use my back and forward buttons without maintaining an entire copy of this. :+1:

Hi, here's a patch with yupi2's changes modified to apply correctly to barrier.

https://github.com/vorph1/barrier/commit/5111f402d0d3c7fa3e085696ef146d19b154e6dc

Back/forward buttons and horizontal scroll work but there's some instability. I'm not sure if that's from the patch or the master branch is unstable itself as I only applied to head and not any stable releases.
Tested only linux server and win10 client so far.

I've now confirmed that the instability is not present with the patch applied to 2.1.2.
I might find time to set up a macos instance to test but no promises there.

Would you consider merging the patch as is or do you need any changes? Also I'm not sure where would be the best place to mention it's yupi2's contribution so any feedback welcome there.

Would just need to create a PR. I could do it and then we could review the code.

Would just need to create a PR. I could do it and then we could review the code.

Has a PR been created yet?

Yes, #242

Was this page helpful?
0 / 5 - 0 ratings