Versions in this module Expand all Collapse all v0 v0.7.2 Nov 15, 2026 v0.7.1 Nov 14, 2026 v0.7.0 Nov 14, 2026 v0.4.1 Nov 13, 2026 Changes in this version type Console + Emulators []string type ThreeDSFile + Unflagged bool + func (t ThreeDSFile) NeedsCopy() bool v0.3.6 Nov 5, 2026 v0.3.5 Nov 5, 2026 Changes in this version + var ErrPlayBinWithCue = errors.New(...) + var ErrPlayLoneBin = errors.New(...) + func RefusalForCore(path, consoleID, coreID string) string v0.3.4 Nov 2, 2026 v0.3.3 Nov 2, 2026 Changes in this version + const BIOSFolderName + const ControllerKeyboard + const CustomPrefix + const GroupAudio + const GroupDisplay + const GroupEmulation + const GroupHotkeys + const GroupOSD + const GroupStates + const KindBezel + const KindChoice + const KindColor + const KindSlider + const KindToggle + const LevelBuiltin + const LevelConsole + const LevelGame + const LevelPerson + const LevelServer + const LevelServerConsole + const LibdragonCore + const LibdragonNeedsCore + const LibdragonNotice + const MaxCheatCode + const MaxCheatFile + const MaxCheatLabel + const MaxCheats + const MaxControlChoices + const MaxCoreOptions + const MaxCustomConsoleJSON + const MaxCustomConsoles + const MaxCustomControls + const MaxCustomDepth + const MaxCustomNodes + const MaxCustomSize + const MaxCustomText + const MaxImportEntries + const MaxImportSize + const MaxLabel + const MaxOptionKey + const MaxOptionValue + const MaxPresets + const MaxProfileSize + const MaxProfiles + const MaxStateSlot + const NewThreeDSOption + const NewThreeDSValue + const ProfileFormat + const ProfileGamepad + const ProfileKeyboard + const SatellaviewBIOS + const SatellaviewCore + const StickDownL + const StickDownR + const StickKey + const StickLeftL + const StickLeftR + const StickRightL + const StickRightR + const StickUpL + const StickUpR + var BuiltinPresets = []Preset + var ErrEncrypted3DS = errors.New(...) + var Settings = []Setting + func BIOSHelp(coreID string, consoleName string) string + func CheatsForCore(list []Cheat) []ipc.Cheat + func CleanValue(s *Setting, v any) (any, error) + func CollectBIOS(console *Console, coreID, gamePath, systemDir string) error + func ControlFor(values map[string]any, lim Limits) ipc.Control + func CoreOptions(id string) map[string]string + func DefaultGamepadFor(consoleID string) map[int]Binding + func DefaultKeyboardFor(consoleID string) map[int]string + func DefaultResolution(consoleID string) int + func EffectiveKeys(consoleID string, p *Profile) map[int]string + func EffectiveMap(consoleID string, p *Profile) map[int]Binding + func IsBIOSFile(consoleID, name string) bool + func IsCustomConsole(id string) bool + func IsLibdragon(path string) bool + func IsSatellaview(path string) bool + func KnownExtension(ext string) bool + func LibdragonOptions() map[string]string + func MissingBIOS(coreID, systemDir string) string + func NonCommercialLicense(text string) bool + func NonCommercialName(name string) bool + func ParseCustom(src []byte, in CustomInput) (*Layer, CustomReport) + func Refusal(path, consoleID string) string + func RunnerArgs(coreID string) []string + func SetCustomConsoles(list []Console) + func ShortText(s string) string + func StartOptions(consoleID, coreID, resolution, systemDir string) map[string]string + type BIOSRule struct + Example string + Folder string + For string + Match *regexp.Regexp + MaxSize int64 + MinSize int64 + Option string type Binding + Hat *int + Rest int + type Cheat struct + Code string + Enabled bool + Label string + func CleanCheats(list []Cheat) ([]Cheat, error) + func ParseCheatFile(b []byte) (list []Cheat, skipped int, err error) + type Choice struct + Label string + Value string type Console + PadLike string + func All() []Console + func CustomConsoles() []Console type Control + Stick bool + type ControllerData struct + Layouts map[string]RawLayout + Pads []KnownPad + func KnownControllers() ControllerData + type CoreTraits struct + Assets string + CacheIn string + Demanding bool + GPU bool + LargeAddressSpace bool + Options map[string]string + OwnHome bool + RequiredBIOS *BIOSRule + Resolution func(times int) map[string]string + SavesIn string + SharedMemory bool + Threaded map[string]string + func Traits(id string) CoreTraits + type CustomConsole struct + Aliases []string + BIOS []BIOS + Cores []string + Extensions []string + ID string + Name string + PadLike string + Short string + func CustomConsoleInput(c *Console, cores []string) CustomConsole + func ParseCustomConsole(raw []byte) (*CustomConsole, error) + func (in *CustomConsole) Validate(id string, existing []Console) (*Console, error) + type CustomControl struct + Choices []Choice + Help string + Label string + Off string + On string + Option string + Type string + type CustomInput struct + Offered []OptionInfo + type CustomReport struct + Errors []Issue + Ignored []Issue + func (r *CustomReport) OK() bool + type Issue struct + Column int + Line int + Message string + Path string + func CheckOptions(core map[string]string, offered []OptionInfo) []Issue + type KnownPad struct + ID string + Layout string + LinuxLayout string + Name string + Style string + type Layer struct + Controls []CustomControl + CoreOptions map[string]string + Presets []Preset + Values map[string]any + func (l *Layer) Document() []byte + func (l *Layer) Empty() bool + func (l *Layer) Patch(values map[string]any, core map[string]*string) []Issue + type Limits struct + MaxSpeed float64 + RewindBytes int64 + RunAhead bool + type NamedLayer struct + Layer *Layer + Level string + type OptionInfo struct + Category string + Choices []string + Default string + Hidden bool + Info string + Key string + Label string + Labels []string type PadLayout + Art string + Extra []PadButton + Pointer bool + PreferDevices []string + Right []PadButton + StickFirst bool + type Preset struct + CoreOptions map[string]string + Description string + Name string + Values map[string]any + type Profile struct + Active bool + Console string + Controller string + ControllerName string + Game int64 + GameTitle string + ID int64 + Keys map[int]string + Kind string + Map map[int]*Binding + Name string + Options ProfileOptions + Raw bool + UpdatedAt int64 + func CleanProfile(p Profile, consoleOK func(string) bool) (Profile, error) + func ParseProfileFile(b []byte) ([]Profile, error) + func ResolveProfile(list []Profile, kind, controller, console string, game int64, raw bool) *Profile + type ProfileFile struct + Format string + Profiles []Profile + Version int + type ProfileOptions struct + Calibration map[int][3]float64 + Deadzone float64 + NoRumble bool + StickDpad *bool + Threshold float64 + Turbo []int + TurboHz int + func DefaultOptions(consoleID string) ProfileOptions + func EffectiveOptions(consoleID string, p *Profile) ProfileOptions + type RawLayout struct + Axes [4]int + Buttons []*Binding + type Resolved struct + Controls []CustomControl + CoreOptions map[string]string + CoreSources map[string]string + Presets []Preset + Sources map[string]string + Values map[string]any + func Resolve(layers []NamedLayer) Resolved + type Setting struct + Caution string + Choices []Choice + Default any + Group string + Help string + Key string + Kind string + Label string + Max float64 + Min float64 + Motion bool + Section string + Shader bool + Step float64 + Unit string + func SettingFor(key string) *Setting + type Target struct + Group string + ID int + Label string + func Targets(consoleID string) []Target + type ThreeDSFile struct + Encrypted bool + NewOnly bool + Package bool + Program int64 + ProgramLen int64 + func Inspect3DS(path string) (ThreeDSFile, error) + func (t ThreeDSFile) CopyProgram(from, to string) error v0.1.0 Oct 30, 2026 Changes in this version + const Auto + const DPadKey + const KindGamepad + const KindKeyboard + const KindTouch + const Landscape + const MaxControlSize + const Portrait + const RetroA + const RetroB + const RetroDown + const RetroL + const RetroL2 + const RetroL3 + const RetroLeft + const RetroR + const RetroR2 + const RetroR3 + const RetroRight + const RetroSelect + const RetroStart + const RetroUp + const RetroX + const RetroY + const TestConsole + var Consoles = []Console + var ManifestJSON []byte + func ByExtension(ext string) string + func CleanControl(consoleID, kind string, data json.RawMessage) (json.RawMessage, error) + func DefaultGamepad() map[int]Binding + func DefaultKeyboard() map[int]string + func DefaultRemote() map[int]string + func Detect(relPath string) string + func IsNonCommercial(id string) bool + func ValidLibraryConsole(id string, testing bool) bool + type BIOS struct + File string + For string + Required bool + type Binding struct + Axis *int + Button *int + Dir int + type Console struct + Aliases []string + BIOS []BIOS + Cores []Core + Extensions []string + Hidden bool + ID string + Name string + Shared []string + Short string + Unavailable string + func ByID(id string) *Console + func (c *Console) Accepts(ext string) bool + type Control struct + ID int + Key string + Kind string + Label string + func Controls(consoleID string) []Control + type Core struct + ID string + License string + Name string + func CoreLicense(id string) (Core, bool) + type PadButton struct + ID int + Label string + type PadLayout struct + Face []PadButton + Meta []PadButton + Shoulder []PadButton + Sticks bool + func Pad(consoleID string) PadLayout + type Placement struct + Hidden bool + Opacity float64 + Size float64 + X float64 + Y float64 + type TouchLayout map[string]Placement + func DefaultTouch(consoleID, orientation string) TouchLayout