From: kub Date: Fri, 24 Jan 2025 08:58:26 +0000 (+0100) Subject: platform, fix kbd config save/load X-Git-Tag: v2.04~73 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb815ab4f5de31226a272ee3623d84cde53f2c68;p=picodrive.git platform, fix kbd config save/load --- diff --git a/platform/common/config_file.c b/platform/common/config_file.c index 8d1d8933..8cb8b98b 100644 --- a/platform/common/config_file.c +++ b/platform/common/config_file.c @@ -366,8 +366,10 @@ static int custom_read(menu_entry *me, const char *var, const char *val) case MA_CTRL_KEYBOARD: currentConfig.keyboard = 0; - if (strcasecmp(val, "virtual") == 0) + if (strcasecmp(val, "physical") == 0) currentConfig.keyboard = 1; + else if (strcasecmp(val, "virtual") == 0) + currentConfig.keyboard = 2; return 1; /* PSP */