# Configuration for mupen64plus-input-gca.
#
# To revert to defaults simply delete this file.
# The default configuration includes all supported controller mappings.
# It is currently not possible to change the mapping of the control stick.
#
# In the controller mappings below, the left side is the GameCube controller button,
# and the right side is the N64 controller button.
#
# Be aware that the values are case sensitive, and an invalid configuration file will
# be overwritten with the defaults.

# Deadzone for the control stick.
# Valid values are from 0 to 255.
control_stick_deadzone = 20

# Sensitivity for the control stick.
# This controls how far you have to move the stick in order to reach max input.
# Valid values are from 0 to 255.
control_stick_sensitivity = 180

# Deadzone for the C-stick.
# Valid values are from 0 to 255.
c_stick_deadzone = 40

# Threshold for the trigger buttons (L and R).
# Set to max to only detect input when fully pressed.
# Valid values are from 0 to 255.
trigger_threshold = 168

[controller_mapping]
a = 'A'
b = 'B'
x = 'CRight'
y = 'CLeft'
start = 'Start'
z = 'L'
l = 'Z'
r = 'R'
d_pad_left = 'DPadLeft'
d_pad_right = 'DPadRight'
d_pad_down = 'DPadDown'
d_pad_up = 'DPadUp'
c_stick_left = 'CLeft'
c_stick_right = 'CRight'
c_stick_down = 'CDown'
c_stick_up = 'CUp'
