mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-20 21:08: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 < 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 "?";
|
||||
}
|
||||
|
||||
|
||||
2
help.cpp
2
help.cpp
@@ -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"
|
||||
|
||||
@@ -383,7 +383,9 @@ int main(int argc, char ** argv) {
|
||||
// other symbols
|
||||
"⌫", "⏎", "←", "→", "␣", "↑", "↓",
|
||||
// international letters
|
||||
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż"
|
||||
"ñ", "Ñ", "ê", "Ç", "Ą", "Ć", "Ę", "Ł", "Ń", "Ó", "Ś", "Ź", "Ż",
|
||||
// controller symbols
|
||||
"Ⓐ", "Ⓑ", "Ⓧ", "Ⓨ", "Ⓛ", "Ⓡ"
|
||||
})
|
||||
allchars.insert(s);
|
||||
|
||||
|
||||
2
tour.cpp
2
tour.cpp
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user