Mouse extra buttons not working on VMWare

I managed to run Whonix on VMWare Workstation Pro 17.5.1 but my mouse side 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?

use KVM or Virtualbox, vmware is nonfree and unsupported hypervisor.