config: Restore previous keyboard mapping defaults. (#2313)

This commit is contained in:
squidbus 2025-02-01 00:34:41 -08:00 committed by GitHub
parent 9aa6c5b951
commit 259d5ef60b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 57 additions and 56 deletions

View file

@ -92,33 +92,34 @@ F12 | Trigger RenderDoc Capture
> [!NOTE] > [!NOTE]
> Xbox and DualShock controllers work out of the box. > Xbox and DualShock controllers work out of the box.
The default controls are inspired by the *Elden Ring* PC controls. Inputs support up to three keys per binding, mouse buttons, mouse movement mapped to joystick input, and more. | Controller button | Keyboard equivalent |
|-------------|-------------|
LEFT AXIS UP | W |
LEFT AXIS DOWN | S |
LEFT AXIS LEFT | A |
LEFT AXIS RIGHT | D |
RIGHT AXIS UP | I |
RIGHT AXIS DOWN | K |
RIGHT AXIS LEFT | J |
RIGHT AXIS RIGHT | L |
TRIANGLE | Numpad 8 or C |
CIRCLE | Numpad 6 or B |
CROSS | Numpad 2 or N |
SQUARE | Numpad 4 or V |
PAD UP | UP |
PAD DOWN | DOWN |
PAD LEFT | LEFT |
PAD RIGHT | RIGHT |
OPTIONS | RETURN |
BACK BUTTON / TOUCH PAD | SPACE |
L1 | Q |
R1 | U |
L2 | E |
R2 | O |
L3 | X |
R3 | M |
| Action | Default Key(s) | Keyboard and mouse inputs can be customized in the settings menu by clicking the Controller button, and further details and help on controls are also found there. Custom bindings are saved per-game. Inputs support up to three keys per binding, mouse buttons, mouse movement mapped to joystick input, and more.
|-------------|-----------------------------|
| Triangle | F |
| Circle | Space |
| Cross | E |
| Square | R |
| Pad Up | W, LAlt / Mouse Wheel Up |
| Pad Down | S, LAlt / Mouse Wheel Down |
| Pad Left | A, LAlt / Mouse Wheel Left |
| Pad Right | D, LAlt / Mouse Wheel Right |
| L1 | Right Button, LShift |
| R1 | Left Button |
| L2 | Right Button |
| R2 | Left Button, LShift |
| L3 | X |
| R3 | Q / Middle Button |
| Options | Escape |
| Touchpad | G |
| Joystick | Default Input |
|--------------------|----------------|
| Left Joystick | WASD |
| Right Joystick | Mouse movement |
Keyboard and mouse inputs can be customized in the settings menu by clicking the Controller button, and further details and help on controls are also found there. Custom bindings are saved per-game.
# Main team # Main team

View file

@ -919,44 +919,44 @@ void setDefaultValues() {
constexpr std::string_view GetDefaultKeyboardConfig() { constexpr std::string_view GetDefaultKeyboardConfig() {
return R"(#Feeling lost? Check out the Help section! return R"(#Feeling lost? Check out the Help section!
#Keyboard bindings # Keyboard bindings
triangle = f triangle = kp8
circle = space circle = kp6
cross = e cross = kp2
square = r square = kp4
# Alternatives for users without a keypad
triangle = c
circle = b
cross = n
square = v
pad_up = w, lalt l1 = q
pad_up = mousewheelup r1 = u
pad_down = s, lalt l2 = e
pad_down = mousewheeldown r2 = o
pad_left = a, lalt
pad_left = mousewheelleft
pad_right = d, lalt
pad_right = mousewheelright
l1 = rightbutton, lshift
r1 = leftbutton
l2 = rightbutton
r2 = leftbutton, lshift
l3 = x l3 = x
r3 = q r3 = m
r3 = middlebutton
options = escape options = enter
touchpad = g touchpad = space
key_toggle = i, lalt pad_up = up
mouse_to_joystick = right pad_down = down
mouse_movement_params = 0.5, 1, 0.125 pad_left = left
leftjoystick_halfmode = lctrl pad_right = right
axis_left_x_minus = a axis_left_x_minus = a
axis_left_x_plus = d axis_left_x_plus = d
axis_left_y_minus = w axis_left_y_minus = w
axis_left_y_plus = s axis_left_y_plus = s
#Controller bindings axis_right_x_minus = j
axis_right_x_plus = l
axis_right_y_minus = i
axis_right_y_plus = k
# Controller bindings
triangle = triangle triangle = triangle
cross = cross cross = cross
@ -970,14 +970,14 @@ r1 = r1
r2 = r2 r2 = r2
r3 = r3 r3 = r3
options = options
touchpad = back
pad_up = pad_up pad_up = pad_up
pad_down = pad_down pad_down = pad_down
pad_left = pad_left pad_left = pad_left
pad_right = pad_right pad_right = pad_right
options = options
touchpad = back
axis_left_x = axis_left_x axis_left_x = axis_left_x
axis_left_y = axis_left_y axis_left_y = axis_left_y
axis_right_x = axis_right_x axis_right_x = axis_right_x