Sorry, the mouse moves in windows desktop. The controller is a 4 player controller I bought at, themameroom.com. The buttons on the arcade control panel are assigned as keyboard buttons.
If all of them are attached to a keyboard controller, you will probably need to pick one which isn't oft used, find the optical controller attached to the trackball, and attach the wiring for that button to that controller's mouse button input (if it has one, most do.) You'll need to do this for each mouse button you wish to be active. You should still be able to use that button for the intended purpose, but you will need to do some re-assignment in your applications. Whether they support a mouse button for assignment may be another issue, so select the one you use carefully, so as to prevent this type of issue.