What I want to do is make some shortcut key for debugging on iOS simulator. e.g. Right Arrow key to call my speed up function to make game run faster. Note that the soft keyboard is not on when I hit debug keys.
The only straightforward way of achieving this (that I can think of) is to create a few very small buttons in your app and connect them to the functions you want to call. You can place them somewhere where they don't interfere with the user interface. Because your developing for a mobile device you unfortunately can't press a key on the keyboard and have it call a function.