Documentation
¶
Overview ¶
Package armada implements the Armada OS platform, a Fedora bootc distro with a SteamOS-like Gaming Mode for ARM64 handhelds.
Index ¶
- type Platform
- func (p *Platform) InputCoverage() platforms.InputClass
- func (p *Platform) LaunchMedia(cfg *config.Instance, path string, launcher *platforms.Launcher, ...) error
- func (p *Platform) Launchers(cfg *config.Instance) []platforms.Launcher
- func (p *Platform) ReturnToMenu() error
- func (*Platform) RootDirs(cfg *config.Instance) []string
- func (*Platform) Settings() platforms.Settings
- func (p *Platform) StartPost(ctx context.Context, cfg *config.Instance, ...) error
- func (p *Platform) Stop() error
- func (p *Platform) SupportedReaders(cfg *config.Instance) []readers.Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
Platform implements the Armada OS platform.
func (*Platform) InputCoverage ¶
func (p *Platform) InputCoverage() platforms.InputClass
InputCoverage implements platforms.InputActivitySource. Keyboard and mouse come from the shared desktop source; controllers are withheld (see withoutControllers).
func (*Platform) LaunchMedia ¶
func (p *Platform) LaunchMedia( cfg *config.Instance, path string, launcher *platforms.Launcher, db *database.Database, opts *platforms.LaunchOptions, ) error
LaunchMedia launches media using the appropriate launcher.
func (*Platform) Launchers ¶
Launchers returns the available launchers for Armada. Armada ships an aarch64 Heroic; Lutris, Bottles and Faugus are omitted because they only ship for x86_64. Kodi is not offered on Armada.
func (*Platform) ReturnToMenu ¶
ReturnToMenu stops active media. The Steam Gaming Mode shell remains responsible for presenting its menu.
func (*Platform) RootDirs ¶
RootDirs returns configured roots or ES-DE's default ROM root, because Armada itself does not define a ROM directory.
func (*Platform) StartPost ¶
func (p *Platform) StartPost( ctx context.Context, cfg *config.Instance, launcherManager platforms.LauncherContextManager, activeMedia func() *models.ActiveMedia, setActiveMedia func(*models.ActiveMedia), db *database.Database, scheduler *idle.Scheduler, ) error
StartPost initializes the platform after service startup and starts the Steam game tracker when Steam is installed.