From f8711dbeeb7d52c323563a18929018518ffab9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sat, 12 Oct 2024 22:50:09 +0800 Subject: [PATCH] libretro: Bind SELECT to ESCAPE. --- desktop_version/libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/libretro/libretro.c b/desktop_version/libretro/libretro.c index b318c00d..14c74537 100644 --- a/desktop_version/libretro/libretro.c +++ b/desktop_version/libretro/libretro.c @@ -173,7 +173,7 @@ PumpJoypadEvents(void) static const int bkeys[16] = { [RETRO_DEVICE_ID_JOYPAD_B] = SDLK_v, [RETRO_DEVICE_ID_JOYPAD_Y] = SDLK_v, - [RETRO_DEVICE_ID_JOYPAD_SELECT] = SDLK_BACKSPACE, + [RETRO_DEVICE_ID_JOYPAD_SELECT] = SDLK_ESCAPE, [RETRO_DEVICE_ID_JOYPAD_START] = SDLK_RETURN, [RETRO_DEVICE_ID_JOYPAD_UP] = SDLK_UP, [RETRO_DEVICE_ID_JOYPAD_DOWN] = SDLK_DOWN,