Documentation
¶
Index ¶
- func LaunchMenu() error
- type Platform
- func (p *Platform) ActiveGame() string
- func (p *Platform) ActiveGameName() string
- func (p *Platform) ActiveGamePath() string
- func (p *Platform) ActiveSystem() string
- func (p *Platform) ForwardCmd(env *platforms.CmdEnv) (platforms.CmdResult, error)
- func (p *Platform) GamepadPress(name string) error
- func (*Platform) GetActiveLauncher() string
- func (*Platform) ID() string
- func (p *Platform) KeyboardPress(name string) error
- func (p *Platform) LaunchMedia(cfg *config.Instance, path string, launcher *platforms.Launcher) error
- func (p *Platform) LaunchSystem(cfg *config.Instance, id string) error
- func (p *Platform) Launchers(cfg *config.Instance) []platforms.Launcher
- func (*Platform) LookupMapping(_ *tokens.Token) (string, bool)
- func (p *Platform) NormalizePath(cfg *config.Instance, path string) string
- func (p *Platform) PlayAudio(path string) error
- func (*Platform) RootDirs(cfg *config.Instance) []string
- func (*Platform) ScanHook(token *tokens.Token) error
- func (p *Platform) SetTrackedProcess(proc *os.Process)
- func (*Platform) Settings() platforms.Settings
- func (*Platform) ShowLoader(_ *config.Instance, _ widgetmodels.NoticeArgs) (func() error, error)
- func (*Platform) ShowNotice(_ *config.Instance, _ widgetmodels.NoticeArgs) (func() error, time.Duration, error)
- func (*Platform) ShowPicker(_ *config.Instance, _ widgetmodels.PickerArgs) error
- func (p *Platform) StartPost(cfg *config.Instance, activeMedia func() *models.ActiveMedia, ...) error
- func (p *Platform) StartPre(_ *config.Instance) error
- func (p *Platform) Stop() error
- func (p *Platform) StopActiveLauncher() error
- func (p *Platform) SupportedReaders(cfg *config.Instance) []readers.Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LaunchMenu ¶
func LaunchMenu() error
Types ¶
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func (*Platform) ActiveGame ¶
func (*Platform) ActiveGameName ¶
func (*Platform) ActiveGamePath ¶
func (*Platform) ActiveSystem ¶
func (*Platform) ForwardCmd ¶
func (*Platform) GamepadPress ¶
func (*Platform) GetActiveLauncher ¶
func (*Platform) KeyboardPress ¶
func (*Platform) LaunchMedia ¶
func (*Platform) LaunchSystem ¶
func (*Platform) NormalizePath ¶
func (*Platform) SetTrackedProcess ¶ added in v2.6.1
func (*Platform) ShowLoader ¶
func (*Platform) ShowLoader( _ *config.Instance, _ widgetmodels.NoticeArgs, ) (func() error, error)
func (*Platform) ShowNotice ¶
func (*Platform) ShowNotice( _ *config.Instance, _ widgetmodels.NoticeArgs, ) (func() error, time.Duration, error)
func (*Platform) ShowPicker ¶
func (*Platform) ShowPicker( _ *config.Instance, _ widgetmodels.PickerArgs, ) error
func (*Platform) StartPost ¶
func (p *Platform) StartPost( cfg *config.Instance, activeMedia func() *models.ActiveMedia, setActiveMedia func(*models.ActiveMedia), ) error
func (*Platform) StopActiveLauncher ¶
Click to show internal directories.
Click to hide internal directories.