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) AfterScanHook(token tokens.Token) error
- func (p *Platform) ConfigFolder() string
- func (p *Platform) ForwardCmd(env platforms.CmdEnv) error
- func (p *Platform) GamepadPress(name string) error
- func (p *Platform) GetActiveLauncher() string
- func (p *Platform) Id() string
- func (p *Platform) KeyboardInput(input string) error
- func (p *Platform) KeyboardPress(name string) error
- func (p *Platform) KillLauncher() error
- func (p *Platform) LaunchFile(cfg *config.UserConfig, path string) error
- func (p *Platform) LaunchSystem(cfg *config.UserConfig, id string) error
- func (p *Platform) Launchers() []platforms.Launcher
- func (p *Platform) LaunchingEnabled() bool
- func (p *Platform) LogFolder() string
- func (p *Platform) LookupMapping(_ tokens.Token) (string, bool)
- func (p *Platform) NormalizePath(cfg *config.UserConfig, path string) string
- func (p *Platform) PlayFailSound(cfg *config.UserConfig)
- func (p *Platform) PlaySuccessSound(cfg *config.UserConfig)
- func (p *Platform) ReadersUpdateHook(readers map[string]*readers.Reader) error
- func (p *Platform) RootFolders(cfg *config.UserConfig) []string
- func (p *Platform) SetEventHook(f *func())
- func (p *Platform) SetLaunching(disabled bool) error
- func (p *Platform) Setup(cfg *config.UserConfig) error
- func (p *Platform) Shell(cmd string) error
- func (p *Platform) Stop() error
- func (p *Platform) SupportedReaders(cfg *config.UserConfig) []readers.Reader
- func (p *Platform) ZipsAsFolders() bool
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) ConfigFolder ¶
func (*Platform) GamepadPress ¶
func (*Platform) GetActiveLauncher ¶
func (*Platform) KeyboardInput ¶
func (*Platform) KeyboardPress ¶
func (*Platform) KillLauncher ¶
func (*Platform) LaunchFile ¶
func (p *Platform) LaunchFile(cfg *config.UserConfig, path string) error
func (*Platform) LaunchSystem ¶
func (p *Platform) LaunchSystem(cfg *config.UserConfig, id string) error
func (*Platform) LaunchingEnabled ¶
func (*Platform) NormalizePath ¶
func (p *Platform) NormalizePath(cfg *config.UserConfig, path string) string
func (*Platform) PlayFailSound ¶
func (p *Platform) PlayFailSound(cfg *config.UserConfig)
func (*Platform) PlaySuccessSound ¶
func (p *Platform) PlaySuccessSound(cfg *config.UserConfig)
func (*Platform) ReadersUpdateHook ¶ added in v1.5.1
func (*Platform) RootFolders ¶
func (p *Platform) RootFolders(cfg *config.UserConfig) []string
func (*Platform) SetEventHook ¶
func (p *Platform) SetEventHook(f *func())
func (*Platform) SetLaunching ¶
func (*Platform) SupportedReaders ¶ added in v1.5.1
func (p *Platform) SupportedReaders(cfg *config.UserConfig) []readers.Reader
func (*Platform) ZipsAsFolders ¶
Click to show internal directories.
Click to hide internal directories.