t.pointerLockElement) {
    const gamepads = navigator.getGamepads();

    switch (e.which) {
      case 87: { // W
        keys.up = true;
        /* if (!window.document.pointerLockElement) {
          renderer.domElement.requestPointerLock();
        } */
        break;
      }
      case 83: { // S
        keys.down = true;
        /* if (!window.document.pointerLockElement) {
          renderer.domElement.requestPointerLock();
        } */
        break;
      }
      case 65: { // A
        keys.left 