code: function handleKeyPress(e, obj) {
          if (! keyData.shift) {  
              keyData.shift = false; 
          }
          if (! keyData.alt) {    
              keyData.alt = false;
          }
          if (! keyData.ctrl) {
              keyData.ctrl = false;
          }
  
          // check held down modifying keys first
          if (e.shiftKey == keyData.shift && 
              e.altKey   == keyData.alt &&
              e.ctrlKey  == keyData.ctrl) { // if we pass this, all modifiers match
              
              var dataItem, keys = keyData.keys, key;
  
              if (YAHOO.lang.isArray(keys)) {
                  for (var i=0;i<keys.length;i++) {
                      dataItem = keys[i];
                      key = Event.getCharCode(e);
  
                      if (dataItem == key) {
                          keyEvent.fire(key, e);
                          break;
                      }
                  }
              } else {
                  key = Event.getCharCode(e);
                  if (keys == key ) {
                      keyEvent.fire(key, e);
                  }
              }
          }
      }
docs: Handles the key event when a key is pressed.
  @method handleKeyPress
  @param {DOMEvent} e   The keypress DOM event
  @param {Object}   obj The DOM event scope object
  @private