Documentation
¶
Index ¶
- Variables
- func CmdIni(_ platforms.Platform, env *platforms.CmdEnv) (platforms.CmdResult, error)
- func CmdLaunchCore(_ platforms.Platform, env *platforms.CmdEnv) (platforms.CmdResult, error)
- func CmdMisterMgl(_ platforms.Platform, env *platforms.CmdEnv) (platforms.CmdResult, error)
- func LoadCsvMappings() (uids, texts map[string]string, err error)
- func NormalizePath(cfg *config.Instance, pl platforms.Platform, path string) string
- func StartCsvMappingsWatcher(getLoadTime func() time.Time, ...) (func() error, error)
- type CsvMappingEntry
- type Platform
- func (p *Platform) ForwardCmd(env *platforms.CmdEnv) (platforms.CmdResult, error)
- func (p *Platform) GamepadPress(name string) error
- func (p *Platform) GetDBLoadTime() time.Time
- func (*Platform) ID() string
- func (p *Platform) KeyboardPress(arg 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 (p *Platform) LookupMapping(t *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 (p *Platform) ScanHook(token *tokens.Token) error
- func (p *Platform) SetDB(uidMap, textMap map[string]string)
- func (p *Platform) SetTrackedProcess(proc *os.Process)
- func (*Platform) Settings() platforms.Settings
- func (p *Platform) ShowLoader(cfg *config.Instance, args widgetmodels.NoticeArgs) (func() error, error)
- func (p *Platform) ShowNotice(cfg *config.Instance, args widgetmodels.NoticeArgs) (func() error, time.Duration, error)
- func (p *Platform) ShowPicker(cfg *config.Instance, args 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
- type Romset
- type Romsets
Constants ¶
This section is empty.
Variables ¶
View Source
var Launchers = []platforms.Launcher{}/* 138 elements not displayed */
Functions ¶
func CmdLaunchCore ¶
func CmdMisterMgl ¶
func LoadCsvMappings ¶
func NormalizePath ¶
Types ¶
type CsvMappingEntry ¶
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func NewPlatform ¶
func NewPlatform() *Platform
func (*Platform) ForwardCmd ¶
func (*Platform) GamepadPress ¶
func (*Platform) GetDBLoadTime ¶
func (*Platform) KeyboardPress ¶
func (*Platform) LaunchMedia ¶
func (*Platform) LaunchSystem ¶
func (*Platform) NormalizePath ¶
func (*Platform) SetTrackedProcess ¶ added in v2.6.1
func (*Platform) ShowLoader ¶
func (p *Platform) ShowLoader( cfg *config.Instance, args widgetmodels.NoticeArgs, ) (func() error, error)
func (*Platform) ShowNotice ¶
func (p *Platform) ShowNotice( cfg *config.Instance, args widgetmodels.NoticeArgs, ) (func() error, time.Duration, error)
func (*Platform) ShowPicker ¶
func (p *Platform) ShowPicker( cfg *config.Instance, args 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 ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.