Documentation
¶
Index ¶
Constants ¶
const ( SchemeSteam = "steam" SchemeFlashpoint = "flashpoint" SchemeLaunchBox = "launchbox" SchemeScummVM = "scummvm" SchemeLutris = "lutris" SchemeHeroic = "heroic" SchemeGOG = "gog" )
Custom URI scheme constants for Zaparoo virtual paths. These schemes are used to create virtual paths for media that doesn't have traditional file paths (e.g., Steam games, Kodi media, LaunchBox collections, etc.).
const ( SchemeKodiMovie = "kodi-movie" SchemeKodiEpisode = "kodi-episode" SchemeKodiSong = "kodi-song" SchemeKodiAlbum = "kodi-album" SchemeKodiArtist = "kodi-artist" SchemeKodiShow = "kodi-show" )
Kodi URI scheme constants for Kodi media library items.
const ( SchemeHTTP = "http" SchemeHTTPS = "https" )
Standard URI schemes that should have URL decoding applied.
Variables ¶
This section is empty.
Functions ¶
func IsCustomScheme ¶
IsCustomScheme checks if the given scheme is a registered Zaparoo custom URI scheme
func IsStandardSchemeForDecoding ¶
IsStandardSchemeForDecoding checks if the given scheme is a standard URI scheme that should have URL decoding
func ShouldDecodeURIScheme ¶
ShouldDecodeURIScheme checks if the given scheme should have URL decoding applied Returns true for Zaparoo custom schemes and standard web schemes (http/https)
func StandardSchemesForDecoding ¶
func StandardSchemesForDecoding() []string
StandardSchemesForDecoding returns a slice of standard URI schemes that should have URL decoding
func ValidCustomSchemes ¶
func ValidCustomSchemes() []string
ValidCustomSchemes returns a slice of all registered Zaparoo custom URI schemes
Types ¶
type LinuxInput ¶ added in v2.7.1
type LinuxInput struct {
NewKeyboard func(time.Duration) (linuxinput.Keyboard, error)
NewGamepad func(time.Duration) (linuxinput.Gamepad, error)
// contains filtered or unexported fields
}
LinuxInput manages virtual keyboard and gamepad devices for Linux platforms. Embed this struct in platform implementations that need input device support.
func (*LinuxInput) CloseDevices ¶ added in v2.7.1
func (l *LinuxInput) CloseDevices()
CloseDevices closes keyboard and gamepad devices.
func (*LinuxInput) GamepadPress ¶ added in v2.7.1
func (l *LinuxInput) GamepadPress(name string) error
GamepadPress sends a gamepad button press.
func (*LinuxInput) InitDevices ¶ added in v2.7.1
func (l *LinuxInput) InitDevices(cfg *config.Instance, gamepadEnabledByDefault bool) error
InitDevices initializes keyboard and optionally gamepad based on config. gamepadEnabledByDefault controls the default when config doesn't specify.
func (*LinuxInput) KeyboardPress ¶ added in v2.7.1
func (l *LinuxInput) KeyboardPress(arg string) error
KeyboardPress sends a keyboard key press.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package esde provides shared utilities for EmulationStation Desktop Edition based platforms including ES-DE, Batocera ES, and RetroBat.
|
Package esde provides shared utilities for EmulationStation Desktop Edition based platforms including ES-DE, Batocera ES, and RetroBat. |
|
procscanner
Package procscanner provides a shared process scanner for monitoring multiple types of processes with a single /proc scan.
|
Package procscanner provides a shared process scanner for monitoring multiple types of processes with a single /proc scan. |
|
proctracker
Package proctracker provides process exit tracking using pidfd_open on Linux 5.3+.
|
Package proctracker provides process exit tracking using pidfd_open on Linux 5.3+. |
|
steamtracker
Package steamtracker provides Steam game lifecycle tracking on Linux.
|
Package steamtracker provides Steam game lifecycle tracking on Linux. |