controller button gluphs

This commit is contained in:
Zeno Rogue
2025-12-11 20:15:01 +01:00
parent 88e778f3fe
commit a64e79fb84
4 changed files with 13 additions and 3 deletions
+8
View File
@@ -242,6 +242,14 @@ EX namespace dialog {
if(k >= 1 && k <= 26) { string s = "Ctrl+"; s += (k+64); return s; }
if(k < 128) { string s; s += k; return s; }
if(k == 508) return "Alt+8";
if(is_joy_index(k, 0)) return "Ⓐ";
if(is_joy_index(k, 1)) return "Ⓑ";
if(is_joy_index(k, 2)) return "Ⓧ";
if(is_joy_index(k, 3)) return "Ⓨ";
if(is_joy_index(k, 0)) return "Ⓐ";
if(is_joy_index(k, 9)) return "Ⓛ";
if(is_joy_index(k, 10)) return "Ⓡ";
return "?";
}
+1 -1
View File
@@ -171,7 +171,7 @@ EX void buildHelpText() {
#else
if(DEFAULTCONTROL && dialog::display_keys == 3)
help += XLAT(
"To move, aim with the left joystick then press A. Press B for menu, X for keyboard, Y to center. R1 to highlight important things on the map.\n\n"
"To move, aim with the left joystick then press Ⓐ. Press Ⓑ for menu, Steam+Ⓧ for keyboard, Ⓨ to center. Ⓡ to highlight important things on the map.\n\n"
"For ranged attacks, use the DPad to aim, then push the left joystick to target an orb or the right joystick to target a ranged weapon. "
"Alternatively, you can also use the right trackpad.\n\n"
"Press L5 to drop a dead orb. R4/R5 to rotate the screen.\n\n"
+3 -1
View File
@@ -383,7 +383,9 @@ int main(int argc, char ** argv) {
// other symbols
"⌫", "⏎", "←", "→", "␣", "↑", "↓",
// international letters
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż"
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż",
// controller symbols
"Ⓐ", "Ⓑ", "Ⓧ", "Ⓨ", "Ⓛ", "Ⓡ"
})
allchars.insert(s);
+1 -1
View File
@@ -237,7 +237,7 @@ EX void slidehelp() {
help += "\n\n" + XLAT(
"This tour typically displays keys on the keyboard. "
"On the SteamDeck, you can press the Menu button to move to the next slide, "
"or the B button to see a menu with other options.");
"or the Ⓑ button to see a menu with other options.");
gotoHelp(help);
presentation(pmHelpEx);