guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李小蛟 <lixiaojiao_...@icloud.com>
Subject keyboard does not take effect out of the div of display
Date Wed, 15 Jun 2016 14:24:25 GMT
hello,
	here,i have a question .Just as the picture below:On the top,here is a display of vnc connection,and
on the bottom of the display is a input .  So when i type in the input,all the keyboard input
was sent into the display. it was not what i wanted.How could I do to solve this problem?
	And the keyboard event code was below also:
		var keyboard = new Guacamole.Keyboard(document);
		keyboard.onkeydown = function(keysym) {
			guac.sendKeyEvent(1, keysym);
		};
		keyboard.onkeyup = function(keysym) {
			guac.sendKeyEvent(0, keysym);
		};
	
	And here is the document,can i change to a div area?But i have tried,it did not take effect.How
could i do to solve the problem?


Mime
View raw message