aboutsummaryrefslogtreecommitdiff
path: root/frontend/plat_sdl.c
diff options
context:
space:
mode:
authornotaz2012-11-06 02:36:42 +0200
committernotaz2012-11-06 02:36:42 +0200
commit456f1b86b44a631e7c58e42ae72ce07970843944 (patch)
tree0a7416a8cb8d222c1ce06959a82ee94962d4fa92 /frontend/plat_sdl.c
parent8e1040b6a82ee1802fda83d4de84290a02656cc0 (diff)
downloadpcsx_rearmed-456f1b86b44a631e7c58e42ae72ce07970843944.tar.gz
pcsx_rearmed-456f1b86b44a631e7c58e42ae72ce07970843944.tar.bz2
pcsx_rearmed-456f1b86b44a631e7c58e42ae72ce07970843944.zip
frontend: add fast forward support
Diffstat (limited to 'frontend/plat_sdl.c')
-rw-r--r--frontend/plat_sdl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/plat_sdl.c b/frontend/plat_sdl.c
index b5d1c86..61f904d 100644
--- a/frontend/plat_sdl.c
+++ b/frontend/plat_sdl.c
@@ -35,6 +35,14 @@ static const struct in_default_bind in_sdl_defbinds[] = {
{ SDLK_e, IN_BINDTYPE_PLAYER12, DKEY_L2 },
{ SDLK_t, IN_BINDTYPE_PLAYER12, DKEY_R2 },
{ SDLK_ESCAPE, IN_BINDTYPE_EMU, SACTION_ENTER_MENU },
+ { SDLK_F1, IN_BINDTYPE_EMU, SACTION_SAVE_STATE },
+ { SDLK_F2, IN_BINDTYPE_EMU, SACTION_LOAD_STATE },
+ { SDLK_F3, IN_BINDTYPE_EMU, SACTION_PREV_SSLOT },
+ { SDLK_F4, IN_BINDTYPE_EMU, SACTION_NEXT_SSLOT },
+ { SDLK_F5, IN_BINDTYPE_EMU, SACTION_TOGGLE_FSKIP },
+ { SDLK_F6, IN_BINDTYPE_EMU, SACTION_SCREENSHOT },
+ { SDLK_F7, IN_BINDTYPE_EMU, SACTION_FAST_FORWARD },
+ { SDLK_F8, IN_BINDTYPE_EMU, SACTION_SWITCH_DISPMODE },
{ 0, 0, 0 }
};