Yes there is, use joy2key http://electracode.com/4/joy2key/JoyToKey%20English%20Version.htm
Offline
You can also do something with Remote Sensors and [put a socket-supporting programming language name]. When I learn ActionScript, I'll try to do something like that.
Offline