helm.inputMap
The controls of the player's junk in *Ninja Pirates of the Baltic*.
helm.inputMap
The controls of the player's junk in Ninja Pirates of the Baltic.
| Control | Kind | Keyboard | Gamepad | Touch |
|---|---|---|---|---|
throttle | axis1 | W / S | right / left trigger | left stick, vertical |
rudder | axis1 | D / A | left stick X | left stick, horizontal |
fire | button | Space, left mouse | right shoulder | a button, lower right |
group = "vehicle", suppresses = { "player" } — taking the wheel takes the
player over, so the on-foot walk, jump and mouse-look answer to nothing while
the Helm holds this map, and they come back the moment it releases.
Activated by game.helm.Helm through its inputMap field. Point that field at
another map to rebind the boat without touching the component.
The readings are raw on purpose: the deadzones here only cut stick noise, and everything that makes the wheel feel heavy — the engine ramp, the blade swinging over, the hull answering the blade — is the ship model in the component. Smoothing the reading as well would make the wheel feel vague without making the boat feel heavier.
Scoped to this part · feeds back into the world's score.