Merge pull request #659 from n-at/main

fix segaMD virtual gamepad A button code
This commit is contained in:
Ethan O'Brien 2023-09-05 09:10:45 -04:00 committed by GitHub
commit 71eb86bca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2829,7 +2829,7 @@ class EmulatorJS {
info.push(...speedControlButtons);
} else if (['segaMD', 'segaCD', 'sega32x'].includes(this.getControlScheme())) {
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":"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},