Module teraflop.input.map

Map user inputs to named actions.

Inspired by Godot's InputMap and bevy_input_map.

Classes

NameDescription
InputMap Map user inputs to named actions.
InputMapBinding An InputEventAction builder.

Enums

NameDescription
Axis Axis of motion for analog inputs, i.e. mouse motion, mouse wheel movement, and joypad sticks.

Global variables

NameTypeDescription
accumulation float delegate(float, float) Increases the strength by continuious accumulation, i.e. linearly.
double_ float delegate(float, float) Doubles the current strength value.

Aliases

NameTypeDescription
StrengthCurve float delegate(float, float) A formula to influence the strength of a held input given the current strength, x, and the last strength value.