I just came across this nifty new free app over on the iTunes App Store that lets you use your iPhone or iPod Touch to control video games on your computer.
WifiPad provides you with the ability to control any game that uses the keyboard on your computer over a Wi-fi connection. Since you can also design and serve custom gamepads, you can use it to build just about any controller design and custom key assignments you want. It can also be used to build a remote keyboard for other non-gaming applications.
http://www.wifipad.com/