Skip to content

Add Xbox Series X controller support and shell navigation#93

Merged
dfederm merged 1 commit into
dfederm:mainfrom
CyberoniOntoni:feature/xbox-controller-upstream
Jun 21, 2026
Merged

Add Xbox Series X controller support and shell navigation#93
dfederm merged 1 commit into
dfederm:mainfrom
CyberoniOntoni:feature/xbox-controller-upstream

Conversation

@CyberoniOntoni

Copy link
Copy Markdown
Contributor

Summary

Adds Xbox Series X/S controller support and shell-level navigation. Builds on #88.

Controller and shell navigation

  • Centralize gamepad virtual-key handling in GamepadInput
  • Route shell navigation (menu toggle, left-edge open, B/Escape back) through NavigationManager at the CoreWindow level so it works on every content page
  • Map video controls: A play/pause, X mute, D-pad/stick volume and seek, LB/RB skip
  • Login and server selection accept Gamepad A to submit
  • WebVideo supports B to go back

Merge order

This PR stacks on #88 (fix/build-and-subtitle-playback). Please merge #88 first, then this one.

Part of splitting the former #89 into bite-sized reviews. Follow-up: shell search PR stacks on this branch.

Test plan

  • App launches on Xbox Series X (dev mode)
  • B/View navigates back from shell pages
  • Menu button toggles navigation pane
  • Left on content edge opens navigation menu
  • Video playback responds to A/X/sticks/D-pad/LB/RB

Centralize gamepad helpers in GamepadInput and route shell shortcuts through NavigationManager at the CoreWindow level. Map video transport controls for A/X/sticks/D-pad/LB/RB and add back navigation for WebVideo.

Polish: fix GamepadA stealing focus from transport controls, unify menu callbacks through RelayCommands, remove redundant Escape handler, and consolidate menu-open API.
@CyberoniOntoni CyberoniOntoni force-pushed the feature/xbox-controller-upstream branch from 02acd31 to 1d489cf Compare June 20, 2026 05:20
CyberoniOntoni added a commit to CyberoniOntoni/JellyBox that referenced this pull request Jun 20, 2026
Reload search results when submitting the same query on the results page. Collapse suggestion picking into ShellSearchViewModel.SelectSuggestion with debounce suppression. Add stale-load guards to SearchViewModel. Restore PR dfederm#93 NavigationManager menu and gamepad polish (OpenNavigationMenu only, GamepadA focus fix, unified text-input checks).
@dfederm dfederm merged commit dc19d3d into dfederm:main Jun 21, 2026
1 check passed
CyberoniOntoni added a commit to CyberoniOntoni/JellyBox that referenced this pull request Jun 23, 2026
Rebased onto main with conflict resolution against dfederm#93 (controller shell), dfederm#97 (packaging), and dfederm#100 (CancellableLoad).

- Add shell search bar, Search page, and ShellFocusCoordinator
- Fix library filter XY-focus in code-behind; up-from-home focuses search
- Route collection folders via CollectionNavigation; async item lookup for search
- Keep CancellableLoad for ItemDetails/SearchViewModel; add CancelAsync for navigate-away
- ItemDetails null-safety and ResetDisplayState on reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants