Input mapping for cross-platform development