Experimental mobile-friendly keyboard layout.

This commit is contained in:
Michael Jumper
2012-01-23 10:05:01 -08:00
parent 274da988ce
commit 0beb9165f4
4 changed files with 332 additions and 5 deletions

View File

@@ -233,8 +233,13 @@ var GuacamoleUI = {
window.location.reload();
};
GuacamoleUI.display.onclick = function(e) {
e.preventDefault();
return false;
};
// On-screen keyboard
GuacamoleUI.keyboard = new Guacamole.OnScreenKeyboard("layouts/en-us-qwerty.xml");
GuacamoleUI.keyboard = new Guacamole.OnScreenKeyboard("layouts/en-us-qwerty-mobile.xml");
GuacamoleUI.containers.keyboard.appendChild(GuacamoleUI.keyboard.getElement());
// Function for automatically updating keyboard size