armada

package
v2.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: GPL-3.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package armada implements the Armada OS platform, a Fedora bootc distro with a SteamOS-like Gaming Mode for ARM64 handhelds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	*linuxbase.Base
	// contains filtered or unexported fields
}

Platform implements the Armada OS platform.

func NewPlatform

func NewPlatform() *Platform

NewPlatform creates a new Armada platform instance.

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

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

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

func (p *Platform) ReturnToMenu() error

ReturnToMenu stops active media. The Steam Gaming Mode shell remains responsible for presenting its menu.

func (*Platform) RootDirs

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

RootDirs returns configured roots or ES-DE's default ROM root, because Armada itself does not define a ROM directory.

func (*Platform) Settings

func (*Platform) Settings() platforms.Settings

Settings returns XDG-based settings for Armada.

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.

func (*Platform) Stop

func (p *Platform) Stop() error

Stop stops the platform and cleans up resources.

func (*Platform) SupportedReaders

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

SupportedReaders returns the list of enabled readers for Armada.

Jump to

Keyboard shortcuts

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