Class Guacamole.OnScreenKeyboard.Cap
Defined in: OnScreenKeyboard.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.OnScreenKeyboard.Cap(text, keysym, modifier)
Basic representation of a cap of a key.
|
Field Attributes | Field Name and Description |
---|---|
The keysym this cap sends when its associated key is pressed/released
|
|
Modifier represented by this keycap
|
|
The text to be displayed within this keycap
|
Class Detail
Guacamole.OnScreenKeyboard.Cap(text, keysym, modifier)
Basic representation of a cap of a key. The cap is the visible part of a key
and determines the active behavior of a key when pressed. The state of all
modifiers on the keyboard determines the active cap for all keys, thus
each cap is associated with a set of modifiers.
- Parameters:
- {String} text
- The text to be displayed within this cap.
- {Number} keysym
- The keysym this cap sends when its associated key is pressed or released.
- {String} modifier
- The modifier represented by this cap.
Field Detail
keysym
The keysym this cap sends when its associated key is pressed/released
modifier
Modifier represented by this keycap
text
The text to be displayed within this keycap