fix segaMD virtual gamepad A button code

This commit is contained in:
Alexey Nurgaliev 2023-09-05 10:16:31 +03:00
parent cab5f524c4
commit 26ee82052f

View file

@ -2829,7 +2829,7 @@ class EmulatorJS {
info.push(...speedControlButtons); info.push(...speedControlButtons);
} else if (['segaMD', 'segaCD', 'sega32x'].includes(this.getControlScheme())) { } else if (['segaMD', 'segaCD', 'sega32x'].includes(this.getControlScheme())) {
info = [ info = [
{"type":"button","text":"A","id":"a","location":"right","right":145,"top":70,"bold":true,"input_value":9}, {"type":"button","text":"A","id":"a","location":"right","right":145,"top":70,"bold":true,"input_value":1},
{"type":"button","text":"B","id":"b","location":"right","right":75,"top":70,"bold":true,"input_value":0}, {"type":"button","text":"B","id":"b","location":"right","right":75,"top":70,"bold":true,"input_value":0},
{"type":"button","text":"C","id":"c","location":"right","right":5,"top":70,"bold":true,"input_value":8}, {"type":"button","text":"C","id":"c","location":"right","right":5,"top":70,"bold":true,"input_value":8},
{"type":"button","text":"X","id":"x","location":"right","right":145,"top":0,"bold":true,"input_value":10}, {"type":"button","text":"X","id":"x","location":"right","right":145,"top":0,"bold":true,"input_value":10},