public static Keys getKeyFromUnicode(char key) {
    for (Keys unicodeKey : values()) {
      if (unicodeKey.charAt(0) == key) {
        return unicodeKey;
      }
    }

    return null;
  }
Get the special key representation, {@link Keys}, of the supplied character if there is one. If
there is no special key tied to this character, null will be returned.

@param key unicode character code
@return special key linked to the character code, or null if character is not a special key
selendroid-server/src/main/java/io/selendroid/server/android/Keys.java