Map platform-specific event flags to generic event flags.