thanhlamcltv91 / android-vnc-viewer

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

Suggestion for new panning mode #214

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As it stands this is an awesome vnc viewer; very easy to use, and it gets the 
job done.  I was using the viewer with my phone flat on a desk and came up with 
the following idea.

Pre conditions:
1:1 pixel mapping
Accelerometer built-in to device

Implement a dead-reckoning algorithm so a person can physically move the device 
to see a different area of the remote server.  This panning mode may work best 
if a multiplier was employed to the physical movement, but keeping the 1:1 
mapping for the pixels.

I think the algorithm will accumulate error in its estimation of the device's 
position, so allow the user to drag the corners of the remote server with the 
viewport, thereby reseting both to a known absolute position.

A new mouse mode could also be implemented where the cursor is fixed to the 
center of the device screen with mouse buttons on a semi-transparent toolbar 
attached to the right.  You would need to use the center of the device to 
recalibrate the viewport.

Original issue reported on code.google.com by ryan.m.w...@gmail.com on 9 Jan 2011 at 10:02