added a "no gamepad detected" indication
This commit is contained in:
@ -93,7 +93,7 @@ function scanGamepads() {
|
||||
return;
|
||||
}
|
||||
|
||||
var gamepads = getGamepads();
|
||||
gamepads = getGamepads();
|
||||
for (var gamepadIndex = 0; gamepadIndex < gamepads.length; gamepadIndex++) {
|
||||
var gamepad = gamepads[gamepadIndex];
|
||||
if (gamepad) {
|
||||
|
Reference in New Issue
Block a user