Component:VirtualMultiKey: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add related
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Virtual Multi Key
|Name=Virtual Multi Key
}}
}}
{{stub}}
This component when triggered by a [[Button Events|button event]] will make the user press all the keys in the multikey at the same time.


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Keys|{{RootFieldType|SyncFieldList`1|[[Type:Key|Key]]}}|TypeAdv0=true|
|Keys|{{RootFieldType|SyncFieldList`1|[[Type:Key|Key]]}}|TypeAdv0=true| A list of keys that should be simulated being pressed when receiving a [[Button Events|button event]] and they will be simulated by the source user of the button event.
}}
}}


== Behavior ==
== Behavior ==
The keys do not press in order, and keys will not be pressed more than once if listed more than once.


== Examples ==
== Examples ==


== 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 Multi Key]]
[[Category:Components:Userspace:Virtual Keyboard{{#translation:}}|Virtual Multi Key]]
[[Category:Components{{#translation:}}|Virtual Multi Key]]
[[Category:Components{{#translation:}}|Virtual Multi Key]]
[[Category:ComponentStubs]]

Latest revision as of 00:04, 17 October 2024

Component image 
Virtual Multi Key component as seen in the Scene Inspector

This component when triggered by a button event will make the user press all the keys in the multikey at the same time.

Usage

Fields
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.
Keys direct SyncFieldList`1<Key> A list of keys that should be simulated being pressed when receiving a button event and they will be simulated by the source user of the button event.

Behavior

The keys do not press in order, and keys will not be pressed more than once if listed more than once.

Examples

See Also