mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-03-03 18:25:22 +01:00

- added: alphabetical file sorting - added: background logo/backdrop + nicer menus - added: scrolling in ROM selector - fixed: switching between pal/ntsc ROMS doesn't mess up timings - fixed: GC controller config works now - fixed: freeze autoloading on ROM load - fixed: zipped ROMS should now load in a reasonable time - fixed: precompiled dols for autosaving to various locations (see readme) - changed: GC default quickload slot (to sd) (thanks kerframil) - changed: default load/save dirs are now "/snes9x/roms" and "/snes9x/saves/" (thanks kerframil) - changed: Classic X and Y defaults aren't switched - changed: if autosave is enabled, it doesn't ask to save SRAM anymore. It is saved in the background. - updated README
29 lines
541 B
C
29 lines
541 B
C
#ifndef BTN_MAP_H
|
|
#define BTN_MAP_H
|
|
|
|
enum {
|
|
CTRLR_NONE = -1,
|
|
CTRLR_NUNCHUK,
|
|
CTRLR_CLASSIC,
|
|
CTRLR_GCPAD,
|
|
CTRLR_WIIMOTE,
|
|
CTRLR_SNES = 7 // give some other value for the snes padmap
|
|
};
|
|
|
|
typedef struct _btn_map {
|
|
u32 btn; // button 'id'
|
|
char* name; // button name
|
|
} BtnMap;
|
|
|
|
typedef struct _ctrlr_map {
|
|
u16 type; // controller type
|
|
int num_btns; // number of buttons on the controller
|
|
BtnMap map[15]; // controller button map
|
|
} CtrlrMap;
|
|
|
|
// externs:
|
|
|
|
extern CtrlrMap ctrlr_def[4];
|
|
|
|
#endif
|