mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Fix gamepad id showing as "undefined"
This commit is contained in:
parent
f4ffcb3873
commit
91d1d279e4
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ class GamepadHandler {
|
|||
const gamepadToSave = {
|
||||
axes: [],
|
||||
buttons: {},
|
||||
index: oldGamepad.index
|
||||
index: oldGamepad.index,
|
||||
id: oldGamepad.id
|
||||
}
|
||||
hasGamepad = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue