Module systems_input_settings

Configures input dead zones and motion-control state.

Info:

  • Author: Sharper Dev

Circle Pad

InputSettings.setCirclePadDeadZone (value) Sets the per-axis dead-zone threshold for the Circle Pad.
InputSettings.getCirclePadDeadZone () Returns the configured Circle Pad dead-zone threshold.

C-Stick

InputSettings.setCStickDeadZone (value) Sets the per-axis dead-zone threshold for the C-Stick.
InputSettings.getCStickDeadZone () Returns the configured C-Stick dead-zone threshold.

Tilting

InputSettings.setTiltingState (state) Enables or disables both the gyroscope and accelerometer.


Circle Pad

InputSettings.setCirclePadDeadZone (value)
Sets the per-axis dead-zone threshold for the Circle Pad.

The default value is 20.

Parameters:

  • value integer The dead zone value.

Usage:

    InputSettings.setCirclePadDeadZone(10)
InputSettings.getCirclePadDeadZone ()
Returns the configured Circle Pad dead-zone threshold.

The default value is 20.

Returns:

    integer The dead zone value.

Usage:

    local deadZone = InputSettings.getCirclePadDeadZone()

C-Stick

InputSettings.setCStickDeadZone (value)
Sets the per-axis dead-zone threshold for the C-Stick.

Parameters:

  • value integer The dead zone value.

Usage:

    InputSettings.setCStickDeadZone(10)
InputSettings.getCStickDeadZone ()
Returns the configured C-Stick dead-zone threshold.

Returns:

    integer The dead zone value.

Usage:

    local deadZone = InputSettings.getCStickDeadZone()

Tilting

InputSettings.setTiltingState (state)
Enables or disables both the gyroscope and accelerometer.

Parameters:

  • state boolean Whether to enable or disable the controls.

Usage:

    InputSettings.setTiltingState(true)
generated by LDoc 1.5.0 Last updated 2026-10-04 12:53:32