From eb815ab4f5de31226a272ee3623d84cde53f2c68 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 24 Jan 2025 09:58:26 +0100 Subject: [PATCH] platform, fix kbd config save/load --- platform/common/config_file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/common/config_file.c b/platform/common/config_file.c index 8d1d89337..8cb8b98b8 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 */