donowolf / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 0 forks source link

Support ConnectBot workarounds for other ssh/VNC style applications? #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The keyboard has special handling as a workaround for ConnectBot's inability to 
recognize the key events for special keys, it sends escape sequences for keys 
such as PageUp/PageDown and F1-F12.

This workaround is currently only active specifically for the "org.connectbot" 
package: https://market.android.com/details?id=org.connectbot, as reported by 
the EditorInfo data: 
http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html

Arguably, the correct fix would be for the ssh application to send the right 
sequences when it gets the corresponding key events such as KEYCODE_F1, since 
that would also make the application work correctly for hardware keyboard 
input. Also, sending the escape sequences isn't likely to work right for VNC / 
remote desktop style applications since those generally expect to handle true 
key events as distinct units.

Open issues:

- is there a compatible way to tell that the input view should be treated as a 
shell window? As far as I can tell this isn't possible without cooperation from 
the application, since the standard edit view types don't include a type for 
that.

- we could define an EditorInfo.privateImeOptions string that applications 
could set to request shell window handling, but that would require a change to 
the ssh application(s), and if they are getting changed anyway they should add 
code to handle the extra keys directly.

- add a method for the user to tell the keyboard that it should activate this 
workaround for specific applications? For example the Irssi version of 
ConnnectBot. This would be nice in combination with a more general app-specific 
configuration override system.

Original issue reported on code.google.com by Klaus.We...@gmail.com on 15 Jun 2011 at 8:19

GoogleCodeExporter commented 8 years ago
Issue 35 has been merged into this issue.

Original comment by Klaus.We...@gmail.com on 15 Jun 2011 at 8:19

GoogleCodeExporter commented 8 years ago
Is there a way to make <esc> and <ctrl> keys to work with Irssi ConnectBot?
Otherwise, most of the usual linux application can't be used.

Original comment by pierre.f...@gmail.com on 30 Jun 2011 at 1:21

GoogleCodeExporter commented 8 years ago
Can you please try v1.21rc3 (or later) from 
http://code.google.com/p/hackerskeyboard/downloads/list ? It activates the 
workarounds for the irssi and pslib connectbot variants.

Original comment by Klaus.We...@gmail.com on 18 Jul 2011 at 11:42

GoogleCodeExporter commented 8 years ago
Closing, current prereleases support it.

Original comment by Klaus.We...@gmail.com on 25 Sep 2011 at 11:27

GoogleCodeExporter commented 8 years ago
Bulk update - changing "Fixed" to "Verified" for old bugs.

(Background: I'm changing the "Fixed" status to be considered open, the next 
steps in the lifecycle will be the closed states "FixInTest" and "Verified". 
This lets me mark issues as "Fixed" in commit messages without hiding them from 
the issue tracker.)

Original comment by Klaus.We...@gmail.com on 22 Jan 2013 at 7:33

GoogleCodeExporter commented 8 years ago
Bulk update - changing "Fixed" to "Verified" for old bugs.

Original comment by Klaus.We...@gmail.com on 22 Jan 2013 at 7:34