code: function keyCode(searchInput) {
    // Keyboard Events
    if (searchInput && 'object' === typeof searchInput) {
      var hasKeyCode = searchInput.which || searchInput.keyCode || searchInput.charCode
      if (hasKeyCode) searchInput = hasKeyCode
    }
  
    // Numbers
    if ('number' === typeof searchInput) return names[searchInput]
  
    // Everything else (cast to string)
    var search = String(searchInput)
  
    // check codes
    var foundNamedKey = codes[search.toLowerCase()]
    if (foundNamedKey) return foundNamedKey
  
    // check aliases
    var foundNamedKey = aliases[search.toLowerCase()]
    if (foundNamedKey) return foundNamedKey
  
    // weird character?
    if (search.length === 1) return search.charCodeAt(0)
  
    return undefined
  }
docs: Source: http://jsfiddle.net/vWx8V/ http://stackoverflow.com/questions/5603195/full-list-of-javascript-keycodes 
  Conenience method returns corresponding value for given keyName or keyCode.
  
  @param {Mixed} keyCode {Number} or keyName {String}
  @return {Mixed}
  @api public