diff --git a/src/modules/stream/stream-settings.ts b/src/modules/stream/stream-settings.ts index dd6fca8..cff4aac 100644 --- a/src/modules/stream/stream-settings.ts +++ b/src/modules/stream/stream-settings.ts @@ -362,6 +362,10 @@ export class StreamSettings { document.activeElement && document.activeElement.dispatchEvent(new MouseEvent('click')); } else if (pressedButton === GamepadKey.B) { this.hide(); + } else if (pressedButton === GamepadKey.LB || pressedButton === GamepadKey.RB) { + // Go to next/previous tab + const $currentTab = this.$tabs!.querySelector('.bx-active') as HTMLElement; + $currentTab && this.#handleTabsNavigation($currentTab, pressedButton === GamepadKey.LB ? FocusDirection.UP : FocusDirection.DOWN); } if (pressedButton === GamepadKey.UP) {