B2G/gecko/browser/devtools/tilt/TiltVisualizer.jsm
/**
   * Called when a key is pressed.
   */
Called when a key is pressed.
Called when a key is pressed .
function TVC__onKeyDown(e)
  {
    let code = e.keyCode || e.which;
    if (!e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
      e.preventDefault();
      e.stopPropagation();
      this.arcball.keyDown(code);
    } else {
      this.arcball.cancelKeyEvents();
    }
  }
function TVC__onKeyDown ( e ) { let code = e . keyCode || e . which ; if ( ! e . altKey && ! e . ctrlKey && ! e . metaKey && ! e . shiftKey ) { e . preventDefault ( ) ; e . stopPropagation ( ) ; this . arcball . keyDown ( code ) ; } else { this . arcball . cancelKeyEvents ( ) ; } }
Called when a key is pressed.
Called when a key is pressed .