bbennett-ks commented on code in PR #1164:
URL: https://github.com/apache/guacamole-client/pull/1164#discussion_r2829149303


##########
guacamole-common-js/src/main/webapp/modules/Keyboard.js:
##########
@@ -1461,6 +1646,33 @@ Guacamole.Keyboard = function Keyboard(element) {
  */
 Guacamole.Keyboard._nextID = 0;
 
+/**
+ * Event types for {@link Guacamole.Keyboard.KeyEvent}.
+ *
+ * @constant
+ * @type {!Object.<string, string>}
+ */
+Guacamole.Keyboard.EventType = {
+    /**
+     * A key has been pressed.
+     *
+     * @type {!string}
+     */
+    KEYDOWN: "keydown",
+    /**
+     * A key press has produced a character.
+     *
+     * @type {!string}
+     */
+    KEYPRESS: "keypress",
+    /**
+     * A key has been released.
+     *
+     * @type {!string}
+     */
+    KEYUP: "keyup"
+};
+

Review Comment:
   Done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to