Skip to content

Commit

Permalink
Fix restore defaults for advanced gamepad menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ceski-1 committed Feb 12, 2025
1 parent 4faa283 commit 703e9e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/i_gamepad.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,23 +495,23 @@ void I_BindGamepadVariables(void)
BIND_NUM_PADADV(joy_stick_layout, LAYOUT_DEFAULT, 0, NUM_LAYOUTS - 1,
"Analog stick layout (0 = Off; 1 = Default; 2 = Southpaw; 3 = Legacy; "
"4 = Legacy Southpaw; 5 = Flick Stick; 6 = Flick Stick Southpaw)");
BIND_NUM(joy_forward_sensitivity, 10, 0, 40,
BIND_NUM_PADADV(joy_forward_sensitivity, 10, 0, 40,
"Forward sensitivity (0 = 0.0x; 40 = 4.0x)");
BIND_NUM(joy_strafe_sensitivity, 10, 0, 40,
BIND_NUM_PADADV(joy_strafe_sensitivity, 10, 0, 40,
"Strafe sensitivity (0 = 0.0x; 40 = 4.0x)");
BIND_NUM_GENERAL(joy_turn_speed, DEFAULT_SPEED, 0, 720,
"Turn speed [degrees/second]");
BIND_NUM_GENERAL(joy_look_speed, DEFAULT_SPEED * 9 / 16, 0, 720,
"Look speed [degrees/second]");
BIND_NUM(joy_outer_turn_speed, 0, 0, 720,
BIND_NUM_PADADV(joy_outer_turn_speed, 0, 0, 720,
"Extra turn speed at outer deadzone [degrees/second]");
BIND_NUM(joy_outer_look_speed, 0, 0, 720,
"Extra look speed at outer deadzone [degrees/second]");
BIND_NUM(joy_outer_ramp_time, 20, 0, 100,
BIND_NUM_PADADV(joy_outer_ramp_time, 20, 0, 100,
"Ramp time for extra speed (0 = Instant; 100 = 1000 ms)");
BIND_NUM_PADADV(joy_movement_type, 1, 0, 1,
"Movement type (0 = Normalized; 1 = Faster Diagonals)");
BIND_NUM_PADADV(joy_movement_curve, 10, 10, 30,
BIND_NUM(joy_movement_curve, 10, 10, 30,
"Movement response curve (10 = Linear; 20 = Squared; 30 = Cubed)");
BIND_NUM_PADADV(joy_camera_curve, 20, 10, 30,
"Camera response curve (10 = Linear; 20 = Squared; 30 = Cubed)");
Expand Down

0 comments on commit 703e9e4

Please sign in to comment.