Since BetterTouchTool is becoming paid, I was looking for an alternative solutions to map my navigation buttons (prev. page, next page) on my mouse (Logitech MX518) that I enjoy using for browsing websites. Right now these two button perform the same action like pressing the scroll wheel.

I already tried Logitech's own software but that seems to be a rather overkill solution and apart from using too much resources, it is also too obtrusive while booting up.

So I was wondering if there is an easy solution with AppleScript that I could write to just do this trick of mapping a button on my mouse to possibly a swipe gesture (like on trackpads)?

  • You're not willing to pay $3 for it? Jan 11 '16 at 21:03
  • @user3439894 not just for the simple mapping of my mouse's buttons. If I would use more of the other features it offers, maybe. If Logitech's "Gaming" Software wouldn't suck (the normal HID software is much better), I would use that. But this way I can invest those $3 for a new mouse instead ;-)
    – comfreak
    Jan 11 '16 at 21:07
  • You could perhaps use Karabiner and use this as a guide to create your own private.xml file with the help of Event viewer
    – Joonas
    Jan 11 '16 at 22:04
  • @Joonas that sounds like a possible way to do it but I was hoping that I could do this rather simple task with OS X's own tools.
    – comfreak
    Jan 11 '16 at 23:10
  • Some mice let you save profiles in the on-board memory. I personally use Logitech mmo mouse with my mac and since I can save the button mapping to the mouse itself, I only have to open logitech gaming software whenever I need to change things. So it doesn't have to stay open in the background. Obviously this isn't the cheapest mouse...
    – Joonas
    Jan 12 '16 at 7:41

Karabiner, which Joonas suggested, natively has back/forward options for buttons 4 and 5. You do not have to create a xtml file. The option is under 'pointing device' > 'button to key' > 'use button 4 and 5 as back/forward'. I have only used it for 30 minutes so far, but it worked straight away by just activating those checkmarks (mouse: ttesports black v2)

  • I tried it but unfortunately with my mouse (or maybe localization?) this doesn't work. In Firefox one button zooms in, the other one doesn't do anything, in Finder both buttons don't have any effect. :-/
    – comfreak
    May 23 '16 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .