Use service button instead of coin

The service button can also be used to add coins.
This commit is contained in:
Julien Reichardt 2022-01-10 16:12:24 +01:00 committed by flyinghead
parent 80d78705b0
commit 4f638f6d77
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,6 @@ public:
map_button(SDL_CONTROLLER_BUTTON_A, DC_BTN_A);
map_button(SDL_CONTROLLER_BUTTON_B, DC_BTN_B);
map_button(SDL_CONTROLLER_BUTTON_X, DC_BTN_C);
map_button(SDL_CONTROLLER_BUTTON_GUIDE, DC_BTN_D); // coin
map_button(SDL_CONTROLLER_BUTTON_Y, DC_BTN_X);
if (!map_axis(SDL_CONTROLLER_AXIS_TRIGGERLEFT, DC_AXIS_LT, true))
@ -131,6 +130,7 @@ public:
map_button(SDL_CONTROLLER_BUTTON_DPAD_DOWN, DC_DPAD_DOWN);
map_button(SDL_CONTROLLER_BUTTON_DPAD_LEFT, DC_DPAD_LEFT);
map_button(SDL_CONTROLLER_BUTTON_DPAD_RIGHT, DC_DPAD_RIGHT);
map_button(SDL_CONTROLLER_BUTTON_GUIDE, DC_DPAD2_UP); // service
map_button(SDL_CONTROLLER_BUTTON_BACK, EMU_BTN_MENU);
map_axis(SDL_CONTROLLER_AXIS_LEFTX, DC_AXIS_LEFT, false);