Controller Family Edit Screen - cressie176/Load64 GitHub Wiki
Create a new controller family template, or rename an existing one.
When adding a new family:
┌──────────────────────────────────────────────────────────────────────────────┐
│ TOP BAR │
│ Controller Families > Add │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ _ │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
│ [Save] [Cancel] │
│ │
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
└──────────────────────────────────────────────────────────────────────────────┘
When renaming an existing family:
┌──────────────────────────────────────────────────────────────────────────────┐
│ TOP BAR │
│ Controller Family > Logitech │
├──────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ Logitech_ │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
│ │
│ [Save] [Cancel] │
│ │
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
└──────────────────────────────────────────────────────────────────────────────┘
Focusable: No
Interactive: No
Purpose: Identify whether a new family is being created or an existing one renamed
Type: Text input
Focusable: Yes (primary focus region)
Interactive: Yes
Purpose: Enter or edit the family name
- [Save] validates and saves the name. On success, navigates to the Control List screen for the new family (when adding) or returns to the Controller Family List screen (when renaming).
- [Cancel] discards changes and returns to the previous screen.
Focusable: No
Interactive: No
Purpose: Display validation errors
After a validation error:
├──────────────────────────────────────────────────────────────────────────────┤
│ BOTTOM BAR │
│ <Error message> │
└──────────────────────────────────────────────────────────────────────────────┘
- When adding: input is empty on entry.
- When renaming: input is pre-populated with the current name.
- If validation fails, the error is shown in the bottom bar and the form remains open.
| Name | Type | Required | Notes |
|---|---|---|---|
| Family Name | String | Yes | Must not be empty and must not duplicate an existing family name |