I'm trying to set my game to also work with a gamepad, and while this works fine with the gamepad, after switching 70% of the "on keyboard" events to "on keyboard code -OR- on gamepad index", I'm getting the following error when pressing ANY button on the keyboard.
<img src="http://stevemazzaro.com/error.png" border="0" />
I'm stumped. Anyone have any ideas?