Commit graph

8 commits

Author SHA1 Message Date
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
Botzy
d84e0f849f fix: added copyright 2025-04-01 16:29:45 +03:00
Botzy
1474d18c83 fix: linting & errors 2025-04-01 15:45:02 +03:00
Botzy
8cee08a008 fix(useContentGamepadNavigation): align moving left and right with v4 behaviour 2025-04-01 15:44:31 +03:00
Botzy
9c34a23888 fix(GamepadSupport): disable vertical nav gamepad support on meta details and player 2025-03-31 20:26:52 +03:00
Botzy
96164511b5 feat(GamepadSupport): added support for HorizontalNavBar 2025-03-28 15:24:38 +02:00
Botzy
c302adc815 fix(GamepadSupport): disable click on dropdowns 2025-03-28 15:22:41 +02:00
Botzy
4f3105f354 feat(Gamepad): Add gamepad spatial navigation on main screens content 2025-03-27 17:46:55 +02:00