I'm not sure if this will be of any help, but i'll try. I don't have a JPAC myself, my trackball connects directly through USB
Have a look in your mame.ini file and look for the core input options. See if changing the relevant device controls to mouse will help.
By default, i think they are all set to keyboard. I dont have a spinner my self, and my trackball is a USB version, but changing the trackball_device to mouse enables it in mame for me. The spinner i guess would be dial_device, dont know if anyone else can elaborate.
Here is part of my mame.ini file
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device mouse
lightgun_device keyboard
positional_device keyboard
mouse_device mouse
Hope you get it sorted
