Skip to content

Commit 07a7ac2

Browse files
committed
Swap map and quest log
1 parent 9efda52 commit 07a7ac2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ Default controller mappings (A/B/X/Y as in Nintendo layout, so the rightmost but
218218
- L1: character sheet
219219
- R2: use mana potion from belt
220220
- L2: use health item from belt
221-
- Left analog click: quest log
221+
- Left analog click: toggle automap
222222
- Right analog click: left mouse click
223-
- Select: automap
223+
- Select: quest log
224224
- Start: game Menu, skip intro
225225

226226
For now, they can be re-mapped by changing `SourceX/controls` or by setting the `SDL_GAMECONTROLLERCONFIG` environment

SourceX/controls/game_controls.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ DWORD translate_controller_button_to_key(ControllerButton controller_button)
2323
case ControllerButton::BUTTON_Y: // Top button
2424
return DVL_VK_RETURN;
2525
case ControllerButton::BUTTON_LEFTSTICK:
26-
return 'Q'; // Quest log
26+
return DVL_VK_TAB; // Map
2727
case ControllerButton::BUTTON_START:
2828
return DVL_VK_ESCAPE;
2929
case ControllerButton::BUTTON_BACK:
30-
return DVL_VK_TAB; // Map
30+
return 'Q'; // Quest log
3131
case ControllerButton::BUTTON_DPAD_LEFT:
3232
return DVL_VK_LEFT;
3333
case ControllerButton::BUTTON_DPAD_RIGHT:

0 commit comments

Comments
 (0)