We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5502 - Add Stadia Controller enum value in SDL_GameControllerType
Summary: Add Stadia Controller enum value in SDL_GameControllerType
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.1
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 10:15 UTC by Dimitriy Ryazantcev
Modified: 2021-01-25 10:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitriy Ryazantcev 2021-01-25 10:15:30 UTC
Since now we have a separate HID driver for Stadia Controller, consider adding `SDL_CONTROLLER_TYPE_GOOGLE_STADIA_CONTROLLER` into `SDL_GameControllerType` enum and its usage in `HIDAPI_DriverStadia` driver and generic `SDL_GetJoystickGameControllerType()`.

This way we can draw separate controller image in game options, different button images etc.