X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.h;h=22a42f6e4ef124006ab50f94118bf2693d6ebf76;hp=eadb3c6e208d4cee3bc87a99d0568a88350c0bd0;hb=a92f6af13d44b1c3c6f0fb23350a3990b0dff95e;hpb=29a8c4f3e7fee7678e4b18de1748b9c4255dcef2 diff --git a/frontend/main.h b/frontend/main.h index eadb3c6e..22a42f6e 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -35,6 +35,7 @@ extern char cfgfile_basename[MAXPATHLEN]; extern int state_slot; +void emu_set_default_config(void); int get_state_filename(char *buf, int size, int i); int emu_check_state(int slot); int emu_save_state(int slot); @@ -57,8 +58,17 @@ enum sched_action { SACTION_PREV_SSLOT, SACTION_TOGGLE_FSKIP, SACTION_SCREENSHOT, + SACTION_VOLUME_UP, + SACTION_VOLUME_DOWN, + SACTION_MINIMIZE, + SACTION_GUN_TRIGGER = 16, + SACTION_GUN_A, + SACTION_GUN_B, + SACTION_GUN_TRIGGER2, }; +#define SACTION_GUN_MASK (0x0f << SACTION_GUN_TRIGGER) + static inline void emu_set_action(enum sched_action action_) { extern enum sched_action emu_action, emu_action_old;