Github user mike-jumper commented on a diff in the pull request:
https://github.com/apache/guacamole-client/pull/261#discussion_r172060648
--- Diff: guacamole-common-js/src/main/webapp/modules/OnScreenKeyboard.js
---
@@ -455,6 +455,17 @@ Guacamole.OnScreenKeyboard = function(layout) {
};
+ /**
+ * Resets the state of this keyboard, releasing all keys, and firing
keyup
+ * events for each released key.
+ */
+ this.reset = function() {
+ for (var keysym in pressed) {
+ var key = getActiveKey(keysym);
+ osk.onkeyup(key.keysym);
+ }
+ }
--- End diff --
Missing semicolon.
---