ed = false;
        break;
      }
      case 81: { // Q
        gamepads[1].buttons[0].pressed = false;
        break;
      }
      case 32: { // space
        keys.space = false;
        break;
      }
      case 17: { // ctrl
        keys.ctrl = false;
        break;
      }
    }
  } else {
    if (focusedTab && focusedTab.iframe) {
      focusedTab.iframe.sendKeyUp(e.which, {
        shiftKey: e.shiftKey,
        ctrlKey: e.ctrlKey,
        altKey: e.altKey,
      });
    }
  }
});
window.addEventList