Key: Difference between revisions
Appearance
Created page with "{{Infobox component | title = Key | id = MHG.Key | caption = Key | configurable = 1 | io.minInputs = 0 | io.maxInputs = 0 | io.outputs = 1 }} The '''Key''' is a component used for accepting the player's input. Its state is synchronized to the state of a physical key on the player's keyboard, or another real life input like a mouse button, gamepad button, or MIDI input. == Behavior == The Key is configured with a certain re..." |
fix category |
||
Line 33: | Line 33: | ||
[[Category:Vanilla components]] | [[Category:Vanilla components]] | ||
[[Category: | [[Category:Input components]] |
Revision as of 04:35, 9 September 2025
![]() Key | |
Component info | |
---|---|
Internal ID |
MHG.Key |
Configurable | Yes |
Input and output | |
Input count | 0 |
Output count | 1 |
The Key is a component used for accepting the player's input. Its state is synchronized to the state of a physical key on the player's keyboard, or another real life input like a mouse button, gamepad button, or MIDI input.
Behavior
The Key is configured with a certain real life input. When that input is held down in real life, the Key is also held down, and its output is ON. The Key can also be clicked on like a Button to press it. Otherwise, the output is OFF.
Configurability
The Key can be edited. Several properties can be changed:
- The real life input the Key corresponds to.
- The color of the pressable part of the Key.
- The color of the text on the Key.
- Whether the Key can only be pressed while sitting in a Chair.
Placement
The Key can be placed in the center of a Circuit Board square or on top of a Mount, and can be fine-rotated.