Mouse side buttons not working on VMWare

I managed to run Whonix on WMWare Workstation Pro 17.5.1 but my mouse extra buttons (backward, forward buttons) aren’t working. I tried to add the code below on the .vmx file since it worked for Ubuntu but it didn’t work for Whonix.

usb.generic.allowHID = "TRUE"
mouse.vusb.enable = "TRUE"
mouse.vusb.useBasicMouse = "FALSE"

Any way to make it work?