From 7825b9ee9f2d4347b8091df34fdb71c1fe319920 Mon Sep 17 00:00:00 2001 From: Chris Gordon Date: Tue, 23 Aug 2011 10:26:04 +1000 Subject: [PATCH] Added support for native iOS and Android keyboards. Tested with Safari on iPad for iOS and Asus Transformer for Android. --- include/ui.js | 39 +++++++++++++++++++++++++++++++++++++++ vnc.html | 5 +++-- vnc_auto.html | 2 +- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/include/ui.js b/include/ui.js index f3388ebd..fa2bd288 100644 --- a/include/ui.js +++ b/include/ui.js @@ -64,6 +64,7 @@ load: function(target) { html += ' id="VNC_mouse_button2" value="M" onclick="UI.setMouseButton(2);"'; html += ' >'); +} + +function zoomEnable(){ + //Change viewport meta data to enable user zooming. + $('head meta[name=viewport]').remove(); + $('head').prepend(''); +} diff --git a/vnc.html b/vnc.html index e8dd0e2a..f94dd61c 100644 --- a/vnc.html +++ b/vnc.html @@ -10,15 +10,16 @@ + - +
Loading
- +