- [NEW] Es pot accedir al dialeg de configuracio dels joysticks des del menú

This commit is contained in:
2025-08-16 11:23:16 +02:00
parent 8201d51668
commit 1fdfeedacc
4 changed files with 25 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ namespace dialogs
ui::panel(38,17,20,8,"JOYSTICKS:");
const int num_gamepads = gamepad::getNumGamepads();
if (selected>=num_gamepads) selected = 0;
for (int i=0; i<num_gamepads; ++i)
{
char name[] = "JOYSTICK 0";