It is in a while loop, and yes, it works with the mouse. The joystick pan and tilt work. But I'm not getting anything from the fire button or any other button. It's a USB joystick and it works okay on flight sims.

There's not much info in the manual or forum search to help.