Class InputConfiguration

java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.InputConfiguration

public class InputConfiguration extends ConfigurationGroup
  • Method Details

    • getMouseSensitivity

      public float getMouseSensitivity()
      Gets the current mouse sensitivity.
      Returns:
      the mouse sensitivity.
    • getGamepadAxisDeadzone

      public float getGamepadAxisDeadzone()
      Gets the current gamepad axis deadzone.
      Returns:
      the gamepad axis deadzone.
    • getGamepadTriggerDeadzone

      public float getGamepadTriggerDeadzone()
      Gets the current gamepad trigger deadzone.
      Returns:
      the gamepad trigger deadzone.
    • getGamepadStickDeadzone

      public float getGamepadStickDeadzone()
      Gets the current gamepad stick deadzone.
      Returns:
      the gamepad stick deadzone.
    • isGamepadSupport

      public boolean isGamepadSupport()
      Checks if gamepad support is enabled.
      Returns:
      true if gamepad support is enabled, false otherwise.
    • setMouseSensitivity

      public void setMouseSensitivity(float mouseSensitivity)
      Sets the mouse sensitivity.
      Parameters:
      mouseSensitivity - the new mouse sensitivity.
    • setGamepadSupport

      public void setGamepadSupport(boolean gamepadSupport)
      Sets the gamepad support.
      Parameters:
      gamepadSupport - the new gamepad support status.
    • setGamepadAxisDeadzone

      public void setGamepadAxisDeadzone(float gamepadAxisDeadzone)
      Sets the gamepad axis deadzone.
      Parameters:
      gamepadAxisDeadzone - the new gamepad axis deadzone.
    • setGamepadTriggerDeadzone

      public void setGamepadTriggerDeadzone(float gamepadTriggerDeadzone)
      Sets the gamepad trigger deadzone.
      Parameters:
      gamepadTriggerDeadzone - the new gamepad trigger deadzone.
    • setGamepadStickDeadzone

      public void setGamepadStickDeadzone(float gamepadStickDeadzone)
      Sets the gamepad stick deadzone.
      Parameters:
      gamepadStickDeadzone - the new gamepad stick deadzone.