Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>AFAIK this is not possible using public API. I've done a bit of searching and the <kbd>esc</kbd> key is not recognized. The only thing that I didn't do is to try <code>iSSH</code> (it costs 9€ :-), but if you read the description on the AppStore it seems clear that <kbd>ESC</kbd> key on a hardware (bluetooth) keyboard doesn't work:</p> <ul> <li><p>Exhaustive key configuration support. Has <kbd>arrow</kbd> keys (by pop-up or by toolbar). <kbd>ctrl</kbd>, <kbd>alt</kbd>, <kbd>esc</kbd>, <kbd>tab</kbd>, <kbd>shift</kbd>, <kbd>Fn</kbd> keys (<kbd>1-10</kbd>), <kbd>`</kbd> key, <kbd>PgUp</kbd>, <kbd>PgDown</kbd> and for those keys not listed provides multiple means to add them.</p></li> <li><p>Bluetooth keyboard support for <kbd>arrow</kbd> keys, <kbd>function</kbd> keys and a remapping of the <kbd>ctrl</kbd> key through option key mapping in either <code>X11/VNC</code> server or terminal. When enabled, an <kbd>Option</kbd>+<kbd>key</kbd> press maps to equivalent <kbd>Ctrl</kbd>+<kbd>key</kbd> press.</p></li> </ul> <p>As you can see, in the second line the <kbd>ESC</kbd> key is not mentioned. Moreover, I've found this (old) <a href="https://groups.google.com/forum/?fromgroups=#!topic/issh/U5t7THbJ9bM" rel="nofollow">post</a>.</p> <p>EDIT:</p> <p>As your last updates, I've found a way to "hide" the <code>_gsEvent</code> inside the binary. I don't know if Apple static analyser can find it, however. The trick is simple...create the <code>_gsEvent</code> selector (and other private selectors) at runtime!</p> <pre><code>-(void)sendEvent:(UIEvent *)event { SEL aSelector = NSSelectorFromString([self theSelector]); if ([event respondsToSelector:aSelector]) { NSLog(@"Event: %@", event.description); } [super sendEvent:event]; } -(NSString *)theSelector { // compose the keyword as you prefer NSString *sel = [NSString stringWithFormat:@"%@g%@%@ent", @"_", @"s", @"Ev"]; return sel; } </code></pre> <p>I've tried to search inside the binary and I don't find the <code>_gsEvent</code> keyword, obviously because it's created only at runtime.<br> Hope this helps.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload