stremio-web/src/services/GamepadNavigation
Timothy Z. 93833d0cd1 fixes
1. Player.js — Added optional chaining (gamepad?.on/gamepad?.off) to prevent null crash
  2. GamepadProvider.tsx — Toast messages now use t('GAMEPAD_CONNECTED') / t('GAMEPAD_DISCONNECTED') via i18next, added keys to en-US.json
  3. useVerticalNavGamepadNavigation.tsx — Fixed event.nativeEvent?.spatialNavigationPrevented → event.spatialNavigationPrevented (native DOM events don't have nativeEvent)
  4. GamepadProvider.tsx — Changed connectedGamepads from useState to useRef to avoid rAF effect restart cycle, removed it from effect deps, simplified the enabled guard
2026-04-28 17:09:02 +03:00
..
index.tsx feat(GamepadSupport): added support for HorizontalNavBar 2025-03-28 15:24:38 +02:00
useContentGamepadNavigation.tsx fix: added copyright 2025-04-01 16:29:45 +03:00
useHorizontalNavGamepadNavigation.tsx fix: added copyright 2025-04-01 16:29:45 +03:00
useVerticalNavGamepadNavigation.tsx fixes 2026-04-28 17:09:02 +03:00