atakz / android-vnc-viewer

Automatically exported from code.google.com/p/android-vnc-viewer
0 stars 0 forks source link

Patch: Cursor key support for "Touch Mouse Pan and Zoom" mode #239

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the "Touch Mouse Pan and Zoom" mode treats DPad events as mouse 
events. I think it's very useful to have the ability to use the DPad for cursor 
keys (Left/Right/Up/Down) too.

The attached patch modifies the mode to allow toggling between two states:

- DPad moves mouse (the default), press Tab key to switch to cursor mode.

- DPad moves cursor, press DPad center to switch to mouse mode.

It's a bit clunky to use two different keys to switch, but IMHO this has least 
collisions with other key functions. The Tab key wasn't supported in current 
versions (see also issue 238), but is very useful for command line editing 
together with the arrow keys. The Dpad center isn't needed when the Dpad is 
used for arrow keys.

Let me know if you think this should be a fully separate mode, but I think it's 
very useful to be able to switch quickly on the fly.

Original issue reported on code.google.com by Klaus.We...@gmail.com on 18 Apr 2011 at 5:37

Attachments:

GoogleCodeExporter commented 8 years ago
Totally agree. And I don't even have a Dpad... my virtual key board does by 
using gestures.

Original comment by oldarney on 27 Jun 2011 at 8:54