Commit 7855c28
committed
Add confirmation and removal to bindings menu
This makes the following improvements to the gamepad bindings menu:
- The menu now shows a hint that you can press a button while any of
the bind options are selected (or that you can navigate away from
those options)
- Instead of button presses immediately setting a binding, they now
ask for confirmation: press the same button a second time to confirm
- You can now remove a binding, the same way you add it (this has the
same type of confirmation)
- This menu used to be inconsistent with pretty much every other menu
in the game by showing a permanent title and description for the menu
itself ("Game Pad", "Change controller options.") rather than showing
a title and description for the currently selected option.
This inconsistency is now fixed.1 parent 0e9c4f9 commit 7855c28
File tree
7 files changed
+182
-44
lines changed- desktop_version
- lang/en
- src
7 files changed
+182
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | | - | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
| 136 | + | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
| 144 | + | |
143 | 145 | | |
| 146 | + | |
144 | 147 | | |
| 148 | + | |
145 | 149 | | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
| |||
7009 | 7013 | | |
7010 | 7014 | | |
7011 | 7015 | | |
7012 | | - | |
| 7016 | + | |
7013 | 7017 | | |
7014 | 7018 | | |
7015 | 7019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
38 | 69 | | |
39 | 70 | | |
40 | 71 | | |
| |||
46 | 77 | | |
47 | 78 | | |
48 | 79 | | |
| 80 | + | |
49 | 81 | | |
50 | 82 | | |
51 | 83 | | |
52 | 84 | | |
53 | 85 | | |
54 | | - | |
55 | 86 | | |
| 87 | + | |
56 | 88 | | |
57 | 89 | | |
58 | 90 | | |
| |||
91 | 123 | | |
92 | 124 | | |
93 | 125 | | |
| 126 | + | |
94 | 127 | | |
95 | 128 | | |
96 | 129 | | |
97 | 130 | | |
98 | 131 | | |
99 | | - | |
100 | 132 | | |
| 133 | + | |
101 | 134 | | |
102 | 135 | | |
103 | 136 | | |
| |||
136 | 169 | | |
137 | 170 | | |
138 | 171 | | |
| 172 | + | |
139 | 173 | | |
140 | 174 | | |
141 | 175 | | |
142 | 176 | | |
143 | 177 | | |
144 | | - | |
145 | 178 | | |
| 179 | + | |
146 | 180 | | |
147 | 181 | | |
148 | 182 | | |
| |||
181 | 215 | | |
182 | 216 | | |
183 | 217 | | |
| 218 | + | |
184 | 219 | | |
185 | 220 | | |
186 | 221 | | |
187 | 222 | | |
188 | 223 | | |
189 | | - | |
190 | 224 | | |
| 225 | + | |
191 | 226 | | |
192 | 227 | | |
193 | 228 | | |
| |||
226 | 261 | | |
227 | 262 | | |
228 | 263 | | |
| 264 | + | |
229 | 265 | | |
230 | 266 | | |
231 | 267 | | |
232 | 268 | | |
233 | 269 | | |
234 | | - | |
235 | 270 | | |
| 271 | + | |
236 | 272 | | |
237 | 273 | | |
238 | 274 | | |
| |||
2526 | 2562 | | |
2527 | 2563 | | |
2528 | 2564 | | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
2529 | 2570 | | |
2530 | 2571 | | |
2531 | 2572 | | |
| |||
0 commit comments