mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-20 04:48:06 +00:00
controller button gluphs
This commit is contained in:
@@ -242,6 +242,14 @@ EX namespace dialog {
|
|||||||
if(k >= 1 && k <= 26) { string s = "Ctrl+"; s += (k+64); return s; }
|
if(k >= 1 && k <= 26) { string s = "Ctrl+"; s += (k+64); return s; }
|
||||||
if(k < 128) { string s; s += k; return s; }
|
if(k < 128) { string s; s += k; return s; }
|
||||||
if(k == 508) return "Alt+8";
|
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 "?";
|
return "?";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
help.cpp
2
help.cpp
@@ -171,7 +171,7 @@ EX void buildHelpText() {
|
|||||||
#else
|
#else
|
||||||
if(DEFAULTCONTROL && dialog::display_keys == 3)
|
if(DEFAULTCONTROL && dialog::display_keys == 3)
|
||||||
help += XLAT(
|
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. "
|
"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"
|
"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"
|
"Press L5 to drop a dead orb. R4/R5 to rotate the screen.\n\n"
|
||||||
|
|||||||
@@ -383,7 +383,9 @@ int main(int argc, char ** argv) {
|
|||||||
// other symbols
|
// other symbols
|
||||||
"⌫", "⏎", "←", "→", "␣", "↑", "↓",
|
"⌫", "⏎", "←", "→", "␣", "↑", "↓",
|
||||||
// international letters
|
// international letters
|
||||||
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż"
|
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż",
|
||||||
|
// controller symbols
|
||||||
|
"Ⓐ", "Ⓑ", "Ⓧ", "Ⓨ", "Ⓛ", "Ⓡ"
|
||||||
})
|
})
|
||||||
allchars.insert(s);
|
allchars.insert(s);
|
||||||
|
|
||||||
|
|||||||
2
tour.cpp
2
tour.cpp
@@ -237,7 +237,7 @@ EX void slidehelp() {
|
|||||||
help += "\n\n" + XLAT(
|
help += "\n\n" + XLAT(
|
||||||
"This tour typically displays keys on the keyboard. "
|
"This tour typically displays keys on the keyboard. "
|
||||||
"On the SteamDeck, you can press the Menu button to move to the next slide, "
|
"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);
|
gotoHelp(help);
|
||||||
presentation(pmHelpEx);
|
presentation(pmHelpEx);
|
||||||
|
|||||||
Reference in New Issue
Block a user