API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classAxisAction
A named signed axis in -1..1, fed by a stick, by two opposing button groups, or by several such bindings at once. Alternative bindings are never summed. Each is evaluated on its own and the one with the largest absolute deflection wins; on an exact tie the binding listed first wins, so the outcome does not depend on device iteration order.
import { AxisAction } from '@codexo/exojs'A named signed axis in -1..1, fed by a stick, by two opposing button groups, or by several such bindings at once.
Alternative bindings are never summed. Each is evaluated on its own and the one with the largest absolute deflection wins; on an exact tie the binding listed first wins, so the outcome does not depend on device iteration order.
new(binding: OneOrManyA single value or a list of alternatives. Actions accept one binding directly and several as an array - there are no variadic constructors, so the options obje…<AxisBindingA directly signed source (a stick axis) or a composite built from two button groups.>, options: ActionOptionsOptions shared by every action.): AxisActionkind: "axis"active: booleanbinding: Bindingchannels: readonly number[]defaultBinding: Bindingvalue: number