whole_func_string: function onWindowKeyPressed(event) {
        ctrlDown = event.ctrlKey;
        if (!ctrlDown) {
          drag.start.x = null;
          drag.start.y = null;
        }
      }
func_code_string: function onWindowKeyPressed(event) {
        ctrlDown = event.ctrlKey;
        if (!ctrlDown) {
          drag.start.x = null;
          drag.start.y = null;
        }
      }
func_documentation_string: On key pressed callback