Actually connect OSK to client.
This commit is contained in:
1 parent
a410ac3f28
commit
ce180d828b
1 file changed
+7
@@ -393,6 +393,13 @@ GuacamoleUI.attach = function(guac) {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GuacamoleUI.keyboard.onkeydown = function(keysym) {
|
||||||
|
guac.sendKeyEvent(1, keysym);
|
||||||
|
};
|
||||||
|
|
||||||
|
GuacamoleUI.keyboard.onkeyup = function(keysym) {
|
||||||
|
guac.sendKeyEvent(0, keysym);
|
||||||
|
};
|
||||||
|
|
||||||
function isTypableCharacter(keysym) {
|
function isTypableCharacter(keysym) {
|
||||||
return (keysym & 0xFFFF00) != 0xFF00;
|
return (keysym & 0xFFFF00) != 0xFF00;
|
||||||
|
|||||||
Reference in new issue
Block a user