archagon / sensible-side-buttons

A macOS menu bar app that enables system-wide navigation functionality for the side buttons on third-party mice.
http://sensible-side-buttons.archagon.net
GNU General Public License v2.0
1.92k stars 125 forks source link

Feature request: enable/disable per focused app #47

Open somebeaver opened 4 years ago

somebeaver commented 4 years ago

Firstly, thank you for this amazing software. I've been using it since it was released and I can't imaging using macOS without SSB.

There are some apps, like VS Code, that don't react to the system level swipes that SSB emits. They listen for back/forward within the webkit instance instead. It would be great if SSB could disable itself when certain blacklisted apps are focused.

I don't know how difficult this would be to implement, but nevertheless it's my suggestion and I think it would be super useful. Thanks again for the software.

bojanin commented 4 years ago

hey my fork of this has the VSCode fix, https://github.com/bojanin/sensible-side-buttons

edit: if you download the latest release from my branch it will work

Sarah-E-Greene commented 4 years ago

I have some games that need button 4 & 5 to actually be button 4 & 5 - this would be very useful to me.

samraul commented 4 years ago

+1 to VSCode fix.

It looks like @bojanin implemented the whitelist, albeit needing better configuration support (instead of being hard-coded). @archagon would you be open to merging that change if @bojanin creates a PR, or is the main app no longer supported?

Current branch diff: https://github.com/archagon/sensible-side-buttons/compare/master...bojanin:master

Thanks!

samraul commented 4 years ago

@bojanin you never released a version based on your latest commit d97d4fd5. Does the previous way have any downsides?

kennyjeffris commented 4 years ago

I have a similar use case, but for Microsoft Remote Desktop. I remote into my work laptop from my mac desktop so I don't need to configure cables or anything, but I have to manually enable/disable SSB if I want the buttons to work within my remote session or not.

FilipeMarch commented 2 years ago

hey my fork of this has the VSCode fix, https://github.com/bojanin/sensible-side-buttons

edit: if you download the latest release from my branch it will work

@bojanin Does your fork still work with VS Code on a macOS M1 Monterey? I don't see how to install your fork too