union-minui/src/minarch/overrides.h
Shaun Inman 2e34a86a78 better handle input mapping in cores with modes
fixes GG and SMS paks (but still doesn't provide unique overrides for the individual modes)
2023-03-01 21:04:15 -05:00

25 lines
487 B
C

#ifndef OVERRIDES_H
#define OVERRIDES_H
typedef struct OptionOverride {
char* key;
char* value;
int lock; // prevents showing/changing this value
} OptionOverride;
typedef struct ButtonMapping {
char* name;
int retro;
int local; // TODO: dislike this name...
int mod;
int default_;
int ignore;
} ButtonMapping;
typedef struct CoreOverrides {
char* core_name; // cannot be NULL
OptionOverride* option_overrides;
ButtonMapping* button_mapping;
} CoreOverrides;
#endif