menu: add reset hotkey
[picodrive.git] / platform / common / plat_sdl.c
index 4404691..1b617d5 100644 (file)
@@ -17,6 +17,8 @@
 #include "input_pico.h"
 #include "version.h"
 
+#include <pico/pico.h>
+
 static void *shadow_fb;
 
 const struct in_default_bind in_sdl_defbinds[] __attribute__((weak)) = {
@@ -33,6 +35,7 @@ const struct in_default_bind in_sdl_defbinds[] __attribute__((weak)) = {
        { SDLK_RETURN, IN_BINDTYPE_PLAYER12, GBTN_START },
        { SDLK_f,      IN_BINDTYPE_PLAYER12, GBTN_MODE },
        { SDLK_ESCAPE, IN_BINDTYPE_EMU, PEVB_MENU },
+       { SDLK_TAB,    IN_BINDTYPE_EMU, PEVB_RESET },
        { SDLK_F1,     IN_BINDTYPE_EMU, PEVB_STATE_SAVE },
        { SDLK_F2,     IN_BINDTYPE_EMU, PEVB_STATE_LOAD },
        { SDLK_F3,     IN_BINDTYPE_EMU, PEVB_SSLOT_PREV },