Files
Reimagined/Server/config/controllable-client.toml
T
2026-05-07 21:38:27 +03:00

119 lines
6.0 KiB
TOML

# The library to use for game controller input. You can change this if you are having problems detecting game controllers.
# Please note that changing from the default library may disable some feature in Controllable, only use this as a last resort
# Valid values: GLFW, SDL2
inputLibrary = "SDL2"
# In-game related options. These can be changed in game instead of config!
[options]
# If enabled, some gameplay elements will cause the controller to rumble
# Valid values: true, false
rumble = true
# If rumble is enabled, this option determines the intensity. The higher the value, the stronger the feedback.
# Valid range: 0 to 1 (inclusive)
rumbleIntensity = 0.1
# If enabled, controller will be automatically selected on start up or when plugged in
# Valid values: true, false
autoSelect = true
# If enabled, the player will render in the top left corner likes Bedrock Edition
# Valid values: true, false
paperDoll = false
# If enabled, hotbar will render closer to the center of the screen like on console.
# Valid values: true, false
consoleHotbar = false
# The image to use for the cursor. This only applies if virtual mouse is enabled!
# Valid values: LIGHT, DARK, CONSOLE, CONSOLE_PLUS, LEGACY_LIGHT, LEGACY_DARK
cursorType = "CONSOLE"
# The controller icons to use in game to display actions
# Valid values: DEFAULT, PLAYSTATION_5, PLAYSTATION_4, PLAYSTATION_3, XBOX_ONE, XBOX_360, SWITCH_JOYCONS, SWITCH_CONTROLLER, GAMECUBE, STEAM
controllerIcons = "DEFAULT"
# If enabled, inverts the controls on the Y axis for the camera
# Valid values: true, false
invertLook = false
# If enabled, inverts the controls on the X axis for the camera
# Valid values: true, false
invertRotation = false
# The distance you have to move the thumbstick before it's input is registered. This fixes drifting as some thumbsticks don't center to zero.
# Valid range: 0 to 1 (inclusive)
deadZone = 0.1
# How much the trigger has to be pressed before it's input is registered. This fixes issues with triggers not being completely released to zero
# Valid range: 0 to 1 (inclusive)
triggerDeadZone = 0.05
# The speed which the camera turns in game
# Valid range: 0 to 150 (inclusive)
rotationSpeed = 50.0
# The sensitivity of the camera's pitch rotation when applying the rotation speed. Setting to 1.0 would mean applying 100% of the rotation speed.
# Valid range: 0 to 1 (inclusive)
pitchSensitivity = 0.75
# The sensitivity of the camera's yaw rotation when applying the rotation speed. Setting to 1.0 would mean applying 100% of the rotation speed.
# Valid range: 0 to 1 (inclusive)
yawSensitivity = 1.0
# The speed which the cursor or virtual mouse moves around the screen
# Valid range: 0 to 50 (inclusive)
mouseSpeed = 15.0
# If enabled, this will disable and remove the virtual cursor from appearing. This is useful for a controller/mouse input combination.
# Valid values: true, false
disableVirtualCursor = true
# If enabled, shows common actions when displaying available on the screen
# Valid values: ALL, MINIMAL, NONE
showActions = "NONE"
# If enabled, allows you to craft quickly when clicking an item in the recipe book
# Valid values: true, false
quickCraft = true
# If enabled, plays a pop sound when you navigate in inventories, menus or scrolling the radial menu
# Valid values: true, false
navigateSound = true
# If enabled, plays the wooden button sound when quick moving items in an inventory (similar to legacy console edition)
# Valid values: true, false
quickMoveSound = true
# The thumbstick to use when scrolling items in the radial menu
# Valid values: LEFT, RIGHT
radialThumbstick = "RIGHT"
# The scale of the mouse speed when hovering a widget or item slot
# Valid range: 0.05 to 1 (inclusive)
hoverModifier = 0.6
# Enabling this option will improve polling of controllers when your game FPS is capped. This will not have an effect if your game is already running at a low FPS without a cap.
# Valid values: true, false
fpsPollingFix = false
# Draws a transparent background behind the text of the button hint
# Valid values: true, false
hintBackground = true
# The speed that lists scroll
# Valid range: 1 to 30 (inclusive)
listScrollSpeed = 10.0
# Adjusts the camera sensitivity when looking through a spyglass
# Valid range: 0 to 1 (inclusive)
spyglassSensitivity = 0.2
# Allows you to control the settings of analog movement
#
# You have three options:
# - DISABLED: Player movement will behave like you are using a keyboard
# - LOCAL_ONLY: Player movement will depend on how much input you are applying to the
# thumbstick, giving you more precise control over direction and speed.
# However, this feature will only work in singleplayer/lan servers.
# - ALWAYS: Same as LOCAL_ONLY but allows you to additionally use the feature on
# remote servers (read message below).
#
# You should set this to DISABLED or LOCAL_ONLY if you are playing on public
# servers (e.g Hypixel) as analog movement may be detected by anti-cheat software.
# Valid values: DISABLED, LOCAL_ONLY, ALWAYS
analogMovement = "LOCAL_ONLY"
# If enabled, allows reading controller input even if the window is not in focus. This option will also
# prevent the game from auto pausing if the window loses focus.
# Valid values: true, false
backgroundInput = false
# If enabled, after four seconds, any overlays related to the controller will be hidden if no input is detected
# Valid values: true, false
overlayTimeout = true
# Advanced related options. "advancedMode" option must be enabled
[options.advanced]
# If enabled, shows more advanced options for finer tuning
# Valid values: true, false
advancedMode = true
# The distance you have to move the left thumbstick before it's input is registered. This fixes drifting as some thumbsticks don't center to zero.
# Valid range: 0 to 1 (inclusive)
leftThumbstickDeadZone = 0.1
# The distance you have to move the right thumbstick before it's input is registered. This fixes drifting as some thumbsticks don't center to zero.
# Valid range: 0 to 1 (inclusive)
rightThumbstickDeadZone = 0.1