fixed default id

This commit is contained in:
Michaël Ferrand 2017-05-19 22:07:32 +02:00 committed by GitHub
parent 495a49f681
commit b35722028a

View File

@ -12,7 +12,7 @@ class GamepadDemo {
constructor(gamepad) {
this.gamepad = gamepad;
this.demoGamepad = {
'id': id,
'id': 'xinput',
'timestamp': 0,
'index': 'demo',
'mapping': 'standard',