Input¶
- class ControllerConfig(deadzone: 'float', axes: 'Mapping[int, GamepadAxes]', hat: 'Mapping[int, Tuple[GamepadButton, GamepadButton]]', buttons: 'Mapping[int, GamepadButton]')[source]¶
Bases:
object
- __init__(deadzone: float, axes: Mapping[int, nqp.core.constants.GamepadAxes], hat: Mapping[int, Tuple[nqp.core.constants.GamepadButton, nqp.core.constants.GamepadButton]], buttons: Mapping[int, nqp.core.constants.GamepadButton]) None ¶
- axes: Mapping[int, nqp.core.constants.GamepadAxes]¶
- buttons: Mapping[int, nqp.core.constants.GamepadButton]¶
- hat: Mapping[int, Tuple[nqp.core.constants.GamepadButton, nqp.core.constants.GamepadButton]]¶