LegacyNavigationBindings
interludesoftware.tick¶
Interlude.Tick¶
LegacyNavigationBindings Class¶
Navigation bindings for the legacy UnityEngine.Input backend. Each action binds a list of
UnityEngine.KeyCodes — any key, including JoystickButton0–19 for controller buttons.
Sticks and the D-pad have no UnityEngine.KeyCode, so they are read from project-defined
Input Manager axes and mapped to the four directions when their respective Use*
toggle is set. Add the axes under Project Settings > Input Manager; if they are
absent the source is skipped after a single warning.
The D-pad is on by default. Left- and right-stick are off by default because Unity's
stock Horizontal / Vertical axes cover both WASD and the left stick, which
would make character movement double as menu navigation. Opt in with axis names you own
and don't share with gameplay (for example NavLeftStickH / NavLeftStickV).
Inheritance System.Object → NavigationBindings → LegacyNavigationBindings
Fields¶
LegacyNavigationBindings.DpadHorizontalAxis Field¶
Input Manager axis read for D-pad left/right (negative = left).
Field Value¶
LegacyNavigationBindings.DpadVerticalAxis Field¶
Input Manager axis read for D-pad up/down (positive = up).
Field Value¶
LegacyNavigationBindings.LeftStickHorizontalAxis Field¶
Input Manager axis read for left-stick left/right (negative = left).
Field Value¶
LegacyNavigationBindings.LeftStickThreshold Field¶
Magnitude the left stick must cross before it triggers a navigation step.
Field Value¶
LegacyNavigationBindings.LeftStickVerticalAxis Field¶
Input Manager axis read for left-stick up/down (positive = up).
Field Value¶
LegacyNavigationBindings.RightStickHorizontalAxis Field¶
Input Manager axis read for right-stick left/right (negative = left).
Field Value¶
LegacyNavigationBindings.RightStickThreshold Field¶
Magnitude the right stick must cross before it triggers a navigation step.
Field Value¶
LegacyNavigationBindings.RightStickVerticalAxis Field¶
Input Manager axis read for right-stick up/down (positive = up).
Field Value¶
LegacyNavigationBindings.UseDpad Field¶
Map the D-pad axes to the four directional actions.
Field Value¶
LegacyNavigationBindings.UseLeftStick Field¶
Map the left-stick axes to the four directional actions.
Field Value¶
LegacyNavigationBindings.UseRightStick Field¶
Map the right-stick axes to the four directional actions.