diff --git a/src/deck-components/Button.tsx b/src/deck-components/Button.tsx index 93f3323..11cf75e 100644 --- a/src/deck-components/Button.tsx +++ b/src/deck-components/Button.tsx @@ -1,8 +1,9 @@ import { CSSProperties, FC, RefAttributes } from 'react'; import { CommonUIModule } from '../webpack'; +import { FooterLegendProps } from './FooterLegend'; -export interface DialogButtonProps extends RefAttributes { +export interface DialogButtonProps extends RefAttributes, FooterLegendProps { label?: string; style?: CSSProperties; className?: string; diff --git a/src/deck-components/FooterLegend.ts b/src/deck-components/FooterLegend.ts index cd53197..2519f33 100644 --- a/src/deck-components/FooterLegend.ts +++ b/src/deck-components/FooterLegend.ts @@ -30,6 +30,14 @@ export enum GamepadButton { STEAM_QUICK_MENU } +export enum NavEntryPositionPreferences { + FIRST, + LAST, + MAINTAIN_X, + MAINTAIN_Y, + PREFERRED_CHILD +} + export interface GamepadEventDetail { button: number; is_repeat?: boolean;