Skip to content

Commit 0d2ef9a

Browse files
committed
BASE: re-add keybindings for left right to toggle the next/prev focus
this breaks the slider control but also fixes the left right for the map end screen
1 parent f3bdba9 commit 0d2ef9a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

base/caveexpress/config.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ controllerbindings = {
9696
--LEFTSHOULDER = "",
9797
--RIGHTSHOULDER = "",
9898
DPUP = "ui_focus_prev",
99-
DPDOWN = "ui_focus_next"
99+
DPDOWN = "ui_focus_next",
100+
DPLEFT = "ui_focus_prev",
101+
DPRIGHT = "ui_focus_next",
100102
},
101103
["map"] = {
102104
A = "drop",
@@ -130,8 +132,12 @@ if isMobile() then
130132
else
131133
keybindings = {
132134
["ui"] = {
135+
LEFT = "ui_focus_prev",
136+
RIGHT = "ui_focus_next",
133137
UP = "ui_focus_prev +",
134138
DOWN = "ui_focus_next -",
139+
A = "ui_focus_prev",
140+
D = "ui_focus_next",
135141
W = "ui_focus_prev +",
136142
S = "ui_focus_next -",
137143
SPACE = "ui_execute",

base/cavepacker/config.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ controllerbindings = {
9292
--LEFTSHOULDER = "",
9393
--RIGHTSHOULDER = "",
9494
DPUP = "ui_focus_prev",
95-
DPDOWN = "ui_focus_next"
95+
DPDOWN = "ui_focus_next",
96+
DPLEFT = "ui_focus_prev",
97+
DPRIGHT = "ui_focus_next",
9698
},
9799
["map"] = {
98100
--A = "",
@@ -126,8 +128,12 @@ if isMobile() then
126128
else
127129
keybindings = {
128130
["ui"] = {
131+
LEFT = "ui_focus_prev",
132+
RIGHT = "ui_focus_next",
129133
UP = "ui_focus_prev +",
130134
DOWN = "ui_focus_next -",
135+
A = "ui_focus_prev",
136+
D = "ui_focus_next",
131137
W = "ui_focus_prev +",
132138
S = "ui_focus_next -",
133139
SPACE = "ui_execute",

0 commit comments

Comments
 (0)