Skip to content

Key Axes

Lenart Bezek edited this page Jul 27, 2016 · 4 revisions

Key axis is used to create analog input from one or two keys.

  1. To bind a button, point on the grey/red region and press the desired key, button or hat.
  2. To unbind it, point on the bind and pres BACKSPACE.

  • Sensitivity
    How fast the axis responds to the input.

  • Gravity
    How fast the axis returns to the center. If set to zero, it stays at it's current position.

  • Momentum
    How fast the axis value accelerates. The bigger the momentum, the slower it responds to the input force. At zero, it moves at a constant speed.

  • Raw
    If toggled on, the axis simply returns +1 or -1 without any interpolations.

  • Snap
    If toggled on, the axis value will jump over the center when you press the opposite button.

Example

This axis can bind all controller and joystick buttons, including D-Pads. The bound buttons are specific to a device.

Tips:

  • Set the gravity slider to zero to use the axis as a slider that does not automatically return to center.
  • Set the gravity slider to negative to make the value fall towards the ends of the range, instead of center.

API
API exposed to Python scripts, custom axes and other mods.

Sharing
Concepts behind the mod design and machine sharing.

Controller axis
Help regarding controller axis.

Key axis
Map keys, buttons and hats to an analog input axis.

Mouse
Use mouse position as input.

Chain axis
Chaining axes for complex input configurations.

Custom axis
Custom axes for everything else.

Controls
Full analog control list.

Console commands
Mod configuration console commands.


Fueled by coffee

ko-fi button

Clone this wiki locally