- 
                Notifications
    You must be signed in to change notification settings 
- Fork 16
feat: add wheel styles #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces customizable wheel styles and colors for the steering wheel component in the input overlay. It adds a comprehensive set of racing-themed wheel designs with both light and dark color variants, enhancing the visual customization options for users.
Key changes:
- Added new wheel style options: formula, LMP, NASCAR, U-shape, and default
- Implemented light and dark color themes for each wheel style
- Updated settings structure to accommodate the new wheel configuration options
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description | 
|---|---|
| src/frontend/components/Settings/types.ts | Added SteerWidgetSettings interface and updated InputWidgetSettings structure | 
| src/frontend/components/Settings/sections/InputSettings.tsx | Added UI controls for wheel style and color selection with migration logic | 
| src/frontend/components/Input/InputSteer/wheels/*.tsx | New SVG components for various wheel styles in light and dark variants | 
| src/frontend/components/Input/InputSteer/InputSteer.tsx | Updated component to support dynamic wheel style and color selection | 
| src/frontend/components/Input/InputContainer/InputContainer.tsx | Pass wheel configuration props to InputSteer component | 
Comments suppressed due to low confidence (1)
src/frontend/components/Settings/sections/InputSettings.tsx:263
- The option value 'ushape' should be 'round' to match the type definition which includes 'round' but not 'ushape'. The type definition specifies 'round' as one of the valid values.
                    <option value="ushape">U-Shape</option>
Adds wheel styles to steer trace in the input overlay
wheels.mp4