added mgba overrides
(forgot to commit last night)
This commit is contained in:
parent
5aca139047
commit
5a9b2d2312
2 changed files with 30 additions and 0 deletions
28
src/minarch/overrides/mgba.h
Normal file
28
src/minarch/overrides/mgba.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#include "overrides.h"
|
||||
|
||||
static CoreOverrides mgba_overrides = {
|
||||
.core_name = "mgba",
|
||||
.option_overrides = (OptionOverride[]){
|
||||
{"mgba_force_gbp", "OFF", 1}, // doesn't seem to do anything
|
||||
{NULL,NULL},
|
||||
},
|
||||
.button_mapping = (ButtonMapping[]){
|
||||
{"Up", RETRO_DEVICE_ID_JOYPAD_UP, BTN_ID_UP},
|
||||
{"Down", RETRO_DEVICE_ID_JOYPAD_DOWN, BTN_ID_DOWN},
|
||||
{"Left", RETRO_DEVICE_ID_JOYPAD_LEFT, BTN_ID_LEFT},
|
||||
{"Right", RETRO_DEVICE_ID_JOYPAD_RIGHT, BTN_ID_RIGHT},
|
||||
{"Select", RETRO_DEVICE_ID_JOYPAD_SELECT, BTN_ID_SELECT},
|
||||
{"Start", RETRO_DEVICE_ID_JOYPAD_START, BTN_ID_START},
|
||||
{"A Button", RETRO_DEVICE_ID_JOYPAD_A, BTN_ID_A},
|
||||
{"B Button", RETRO_DEVICE_ID_JOYPAD_B, BTN_ID_B},
|
||||
{"A Turbo", RETRO_DEVICE_ID_JOYPAD_X, BTN_ID_NONE},
|
||||
{"B Turbo", RETRO_DEVICE_ID_JOYPAD_Y, BTN_ID_NONE},
|
||||
{"L Button", RETRO_DEVICE_ID_JOYPAD_L, BTN_ID_L1},
|
||||
{"R Button", RETRO_DEVICE_ID_JOYPAD_R, BTN_ID_R1},
|
||||
{"L Turbo", RETRO_DEVICE_ID_JOYPAD_L2, BTN_ID_NONE},
|
||||
{"R Turbo", RETRO_DEVICE_ID_JOYPAD_R2, BTN_ID_NONE},
|
||||
{"More Sun", RETRO_DEVICE_ID_JOYPAD_L3, BTN_ID_NONE},
|
||||
{"Less Sun", RETRO_DEVICE_ID_JOYPAD_R3, BTN_ID_NONE},
|
||||
{NULL},
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue