How can we use the Spacemouse from 3D Conncexion to work with UEFN?

I just got a spacemouse and wanted to use it with UEFN, however currently its only doing 1 function og going forward and backward. Is there anyway to customize the Spacemouse with UEFN