This is going to be a strange question but I'm just curious if there's a way via mIRC scripting to tell the computer that a controller button has been pressed.

Basically I have an external program running but I want my IRC channel users to be able to control the external program, which I've set up with Joy2key. Basically if someone presses button 2 on the controller it would act as though someone pressed X on the keyboard or something in that program.

I'm not sure if this is even possible but I've seen some pretty impressive things done with the mIRC scripting language so I thought I'd ask.