thealpa / SaneSideButtons

A macOS menu bar app that enables system-wide navigation functionality for side buttons on third-party mice.
https://janhuelsmann.com/sanesidebuttons
GNU General Public License v2.0
367 stars 15 forks source link

Back/Forward buttons reversed? #18

Open bouvin opened 1 year ago

bouvin commented 1 year ago

First off, thank you for carrying on from SensibleSideButtons.

On my mouse, the actions for the side back/forward buttons are reversed. SensibleSideButtons had an option to reverse the effect of the buttons, and I would like to see the same in SaneSideButtons, so I don't have to push forward to go back.

juiceghost commented 1 year ago

I too wanted this feature, and as a workaround i did this: Uninstall SaneSideButtons if it is installed. Clone the repo, open the project in Xcode. Navigate to the file SwipeSimulator, swap the names swipeLeft and swipeRight. Go to the Product menu -> Scheme -> Edit scheme, choose Release profile. Hit ⌘B to Build it, open the folder ~/Library/Developer/Xcode/DerivedData and look for the SaneSideButtons inside a folder called Release. Option-drag (to copy) this to your Application folder. Note that i had to manually remove and drag the app into the Input Monitoring and Accessibility panes in System Prefs.

Once setup you now have reversed buttons! To Undo, simply uninstall SaneSideButtons (move to the Trash) and reinstall the unaltered version. You'll likely have to manually drag out and back in Accessibility and Input Monitoring.

I'm looking into adding a setting to ease the process.