fixed active gamepad removal on keyboard press
This commit is contained in:
parent
cc1fa68387
commit
62befd88db
@ -72,7 +72,7 @@ class Gamepad {
|
|||||||
switch (e.code) {
|
switch (e.code) {
|
||||||
case "Delete":
|
case "Delete":
|
||||||
case "Escape":
|
case "Escape":
|
||||||
this.removeGamepad();
|
this.removeGamepad(this.activeGamepadIndex);
|
||||||
break;
|
break;
|
||||||
case "KeyC":
|
case "KeyC":
|
||||||
this.changeGamepadColor();
|
this.changeGamepadColor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user