mistex

package
v2.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2026 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchMenu

func LaunchMenu() error

Types

type Platform

type Platform struct {
	shared.LinuxInput // Embedded for keyboard/gamepad support
	// contains filtered or unexported fields
}

func (*Platform) ActiveGame

func (p *Platform) ActiveGame() string

func (*Platform) ActiveGameName

func (p *Platform) ActiveGameName() string

func (*Platform) ActiveGamePath

func (p *Platform) ActiveGamePath() string

func (*Platform) ActiveSystem

func (p *Platform) ActiveSystem() string

func (*Platform) CheckAndClearArcadeCardLaunch added in v2.7.0

func (p *Platform) CheckAndClearArcadeCardLaunch(setname string) bool

CheckAndClearArcadeCardLaunch checks if the setname was recently launched via card. Returns true if there's a match within the last 15 seconds, false otherwise. Clears the cache after checking to prevent stale suppressions.

func (*Platform) ConsoleManager added in v2.7.0

func (*Platform) ConsoleManager() platforms.ConsoleManager

func (*Platform) ForwardCmd

func (p *Platform) ForwardCmd(env *platforms.CmdEnv) (platforms.CmdResult, error)

func (*Platform) GetActiveLauncher

func (*Platform) GetActiveLauncher() string

func (*Platform) ID

func (*Platform) ID() string

func (*Platform) LaunchMedia

func (p *Platform) LaunchMedia(
	cfg *config.Instance, path string, launcher *platforms.Launcher, db *database.Database,
	opts *platforms.LaunchOptions,
) error

func (*Platform) LaunchSystem

func (p *Platform) LaunchSystem(cfg *config.Instance, id string) error

func (*Platform) Launchers

func (p *Platform) Launchers(cfg *config.Instance) []platforms.Launcher

func (*Platform) LookupMapping

func (*Platform) LookupMapping(_ *tokens.Token) (string, bool)

func (*Platform) ReturnToMenu added in v2.7.0

func (*Platform) ReturnToMenu() error

func (*Platform) RootDirs

func (*Platform) RootDirs(cfg *config.Instance) []string

func (*Platform) ScanHook

func (*Platform) ScanHook(token *tokens.Token) error

func (*Platform) SetArcadeCardLaunch added in v2.7.0

func (p *Platform) SetArcadeCardLaunch(setname string)

SetArcadeCardLaunch caches the arcade setname when launching via card.

func (*Platform) SetTrackedProcess added in v2.6.1

func (p *Platform) SetTrackedProcess(proc *os.Process)

func (*Platform) Settings

func (*Platform) Settings() platforms.Settings

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,
	_ platforms.LauncherContextManager,
	activeMedia func() *models.ActiveMedia,
	setActiveMedia func(*models.ActiveMedia),
	db *database.Database,
) error

func (*Platform) StartPre

func (p *Platform) StartPre(cfg *config.Instance) error

func (*Platform) Stop

func (p *Platform) Stop() error

func (*Platform) StopActiveLauncher

func (p *Platform) StopActiveLauncher(_ platforms.StopIntent) error

func (*Platform) SupportedReaders

func (p *Platform) SupportedReaders(cfg *config.Instance) []readers.Reader

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL