1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-11 21:33:16 +00:00

fixed how the joystick configuration is arranged

This commit is contained in:
Zeno Rogue 2025-02-24 00:10:48 +01:00
parent 175e148714
commit 925ec61fb6
2 changed files with 3 additions and 3 deletions

View File

@ -2603,8 +2603,6 @@ EX void showJoyConfig() {
dialog::addSelItem(XLAT("second joystick: panning speed"), fts(vid.joypanspeed * 1000), 'd');
dialog::addSelItem(XLAT("smoothen"), its(vid.joysmooth) + " ms", 'e');
add_edit(joy_init);
dialog::addBreak(50);
dialog::addBack();
dialog::display();

View File

@ -478,11 +478,13 @@ struct shmup_configurer {
#if CAP_SDLJOY
if(numsticks > 0) {
if(shmup::on || multi::alwaysuse || players > 1)
dialog::addItem(XLAT("configure joystick axes"), 'j');
dialog::addItem(XLAT("configure joystick axes"), 'x');
else dialog::addBreak(100);
}
#endif
add_edit(joy_init);
dialog::addBreak(50);
dialog::addHelp();