Automated: create new component page |
add related |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|Name=Virtual Modifier Key | |Name=Virtual Modifier Key | ||
}} | }} | ||
Virtual Modifier Key is a way of making [[Component:VirtualKey|Virtual Keys]] change what they type when pressed. | |||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Keyboard|{{RootFieldType|RelayRef`1|[[Component:VirtualKeyboard|VirtualKeyboard]]}}|TypeAdv0=true| | |Keyboard|{{RootFieldType|RelayRef`1|[[Component:VirtualKeyboard|VirtualKeyboard]]}}|TypeAdv0=true| The keyboard this key is a part of. | ||
|State|Bool| | |State|Bool| Whether this modifier key is active or not, kind of like if CAPSLOCK was active. | ||
}} | }} | ||
== Examples == | == Examples == | ||
This can be used to make a button that when activated, makes all the keys on the VR keyboard append "CHEESE!" whenever a key is pressed. Keep in mind the key would need to be a part of a saved [[Favorites|favorite]] keyboard. | |||
== See Also == | == See Also == | ||
* [[Component:VirtualKey|Virtual Key]] | |||
* [[Component:VirtualKeyboard|Virtual Keyboard]] | |||
* [[Component:VirtualModifierKey|Virtual Modifier Key]] | |||
* [[Component:VirtualMultiKey|Virtual Multi Key]] | |||
* [[Component:VirtualShift|Virtual Shift]] | |||
* [[Component:VirtualCloseKey|Virtual Close Key]] | |||
* [[Component:VirtualKeyTextDrive|Virtual Key Text Drive]] | |||
* [[Component:VirtualShiftColorDriver|Virtual Shift Color Driver]] | |||
[[Category:Components:Userspace:Virtual Keyboard{{#translation:}}|Virtual Modifier Key]] | [[Category:Components:Userspace:Virtual Keyboard{{#translation:}}|Virtual Modifier Key]] | ||
[[Category:Components{{#translation:}}|Virtual Modifier Key]] | [[Category:Components{{#translation:}}|Virtual Modifier Key]] | ||
Latest revision as of 00:04, 17 October 2024
Component image
Virtual Modifier Key is a way of making Virtual Keys change what they type when pressed.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Keyboard
|
direct RelayRef`1<VirtualKeyboard> | The keyboard this key is a part of. |
State
|
Bool | Whether this modifier key is active or not, kind of like if CAPSLOCK was active. |
Examples
This can be used to make a button that when activated, makes all the keys on the VR keyboard append "CHEESE!" whenever a key is pressed. Keep in mind the key would need to be a part of a saved favorite keyboard.