Possible to link mouse buttons to macOS functions I've just taken delivery of a new mechanical keyboard and laser mouse as I wanted to switch off the Bluetooth on my MacBook Pro (early 2013 Retina, running High Sierra).

All is working nicely with the Mac except I've lost the gesture control which I use a lot to switch between VMware virtual machines.

The laser mouse is a gaming mouse (HyperX Puslefire FPS) with a couple of extra buttons and I'd like to assign these buttons to switch desktops.

Does anyone know how I can do this, ideally without 3rd party software, using automation or similar?
It's no doubt possible to map your mouse buttons to Keyboards keys, but considering the generic nature of your mouse, I'm doubtful you'd be able to do it without 3rd party software.

While I haven’t used these to map buttons to a HyperX Pulsefire FPS gaming mouse, I have used these to map the buttons from a variety of other controllers:


USB Overdrive 
ControllerMate


I’d start with USB Overdrive as it offers a much simpler interface. ControllerMate provides a lot more advanced functionality, but also takes quite some time to suss out.

Now, I haven't used SensibleSideButtons, but that may work in your scenario if the extra buttons are side buttons. Nor have I used Steer Mouse, but I know of people who swear by it.