I have a jailbroken iOS 6 iPad that I am trying to get a bluetooth keyboard set up to be capable of performing productive work. Unfortunately, both bluetooth keyboards that I have are "designed for iOS" and have the Home button (rounded square symbol) in the place where the escape button is.
This is a significant problem, for example, when using e.g. Vim in a console app. The only way to hit Escape (which is required for effective use of the editor) is with an on-screen soft-key.
I have installed Beekeyboard from Cydia which does let me configure shortcuts to trigger various useful events and commands like toggling Wifi and other rarely used functions, as well as very nice functions like the default
Alt+Cmd+Left/Right to cycle through iOS apps.
However I am unable to get it to override the behavior of the
Home key. I can bind it to "Toggle Mute" and it does toggle mute, but it closes my app while doing so, making this button completely useless.
In order to actually be able to Vim on this setup I have to be able to trigger the Escape key, or bind some key to perform the function of Escape. On my primary computers I have the Caps Lock key bound to F10 at the operating system wide level (in OSX and Windows), and I have Vim configured to treat F10 the same way as Escape. Now, on jailbroken iOS with a bluetooth iOS-keyboard, the Home key is dysfunctional as already described, and the caps lock key appears to work inconsistently. For instance in this Stack Exchange text entry field it functions as a Ctrl Lock key, though in most iOS text entry fields the caps lock works as normal.
I have found no way to bind caps lock to something else (and prevent it from toggling shift/ctrl lock), so currently the only way way for me to use Vim is to hit Fn+F10 to get the F10 key sent.
So I would like to know if anybody has been able to bind these keys to Escape or any other key, and to prevent their default behaviors.