1
0

Add support for L,R

This commit is contained in:
otya128
2016-12-24 14:04:03 +09:00
parent 90cceecb58
commit ada477d6aa

View File

@@ -708,6 +708,8 @@ class PetitComputer
buttonTable[SDL_SCANCODE_B] = Button.B;
buttonTable[SDL_SCANCODE_A] = Button.X;
buttonTable[SDL_SCANCODE_S] = Button.Y;
buttonTable[SDL_SCANCODE_Q] = Button.L;
buttonTable[SDL_SCANCODE_W] = Button.R;
controllerTable[SDL_CONTROLLER_BUTTON_DPAD_UP] = Button.UP;
controllerTable[SDL_CONTROLLER_BUTTON_DPAD_DOWN] = Button.DOWN;