Component:VirtualMultiKey: Difference between revisions

From Resonite Wiki
add related
update formatting and see also
 
Line 5: Line 5:
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.  
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 ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|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.
|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.
Line 14: Line 14:


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
* [[Component:VirtualKey|Virtual Key]]
{{Template:KeyBoardTypes_SeeAlso}}
* [[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]]

Latest revision as of 19:40, 2 February 2025

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.

Fields

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. Some components stop their functionality when this field is disabled, but some don't.
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

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also