mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUACAMOLE-352: Leverage Guacamole.Keyboard.InputSink within webapp as a default destination for input events.
This commit is contained in:
		| @@ -82,6 +82,10 @@ angular.module('index').controller('indexController', ['$scope', '$injector', | ||||
|  | ||||
|     }; | ||||
|  | ||||
|     // Add default destination for input events | ||||
|     var sink = new Guacamole.Keyboard.InputSink(); | ||||
|     $document[0].body.appendChild(sink.getElement()); | ||||
|  | ||||
|     // Create event listeners at the global level | ||||
|     var keyboard = new Guacamole.Keyboard($document[0]); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user