Fall back on charCode when key isn’t available.