config

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = IniFile{
	&General{
		ObsHost:     "localhost:4455",
		ObsPassword: "",
	},
	&Midi{
		PortIn:  "",
		PortOut: "",
	},
	&McuFaders{
		ShowMeters:    false,
		SimulateTouch: false,
	},
	&McuVpots{},
	&McuLeds{

		Save:    "",
		Undo:    "",
		Marker:  "",
		Nudge:   "",
		Cycle:   "",
		Drop:    "",
		Replace: "",
		Click:   "",
		Solo:    "",
		Rewind:  "",
		FastFwd: "",
		Stop:    "",
		Play:    "STATE:StreamState",
		Record:  "STATE:RecordState",
		Zoom:    "",
		Scrub:   "",
	},
	&McuButtons{

		F1:              "",
		F2:              "",
		F3:              "",
		F4:              "",
		F5:              "",
		F6:              "",
		F7:              "",
		F8:              "",
		MIDITracks:      "",
		Inputs:          "",
		AudioTracks:     "",
		AudioInstrument: "",
		Aux:             "",
		Busses:          "",
		Outputs:         "",
		User:            "",
		Shift:           "",
		Option:          "",
		Control:         "",
		CMDAlt:          "",

		Save:    "",
		Undo:    "",
		Cancel:  "",
		Enter:   "",
		Marker:  "",
		Nudge:   "",
		Cycle:   "",
		Drop:    "",
		Replace: "",
		Click:   "",
		Solo:    "",
		Rewind:  "",
		FastFwd: "",
		Stop:    "KEY:OBSBasic.ForceStopStreaming,OBSBasic.StopRecording",
		Play:    "KEY:OBSBasic.StartStreaming",
		Record:  "KEY:OBSBasic.StartRecording",
		Up:      "",
		Down:    "",
		Left:    "",
		Right:   "",
		Zoom:    "",
		Scrub:   "",
		UserA:   "",
		UserB:   "",
	},
}

Functions

func GetConfigFilePath

func GetConfigFilePath() string

func InitConfig

func InitConfig()

func SaveConfig added in v0.4.0

func SaveConfig() error

Types

type General

type General struct {
	ObsHost     string
	ObsPassword string
}

type IniFile

type IniFile struct {
	*General
	*Midi
	*McuFaders
	*McuVpots
	*McuLeds
	*McuButtons
}

type McuButtons

type McuButtons struct {
	//Rec1             string
	//Rec2             string
	//Rec3             string
	//Rec4             string
	//Rec5             string
	//Rec6             string
	//Rec7             string
	//Rec8             string
	//Solo1            string
	//Solo2            string
	//Solo3            string
	//Solo4            string
	//Solo5            string
	//Solo6            string
	//Solo7            string
	//Solo8            string
	//Mute1            string
	//Mute2            string
	//Mute3            string
	//Mute4            string
	//Mute5            string
	//Mute6            string
	//Mute7            string
	//Mute8            string
	//Select1          string
	//Select2          string
	//Select3          string
	//Select4          string
	//Select5          string
	//Select6          string
	//Select7          string
	//Select8          string
	//V1               string
	//V2               string
	//V3               string
	//V4               string
	//V5               string
	//V6               string
	//V7               string
	//V8               string
	//AssignTrack      string
	//AssignSend       string
	//AssignPan        string
	//AssignPlugin     string
	//AssignEQ         string
	//AssignInstrument string
	//BankL           string
	//BankR           string
	//ChannelL        string
	//ChannelR        string
	//Flip            string
	//GlobalView      string
	//NameValue       string
	//SMPTEBeats      string
	F1              string
	F2              string
	F3              string
	F4              string
	F5              string
	F6              string
	F7              string
	F8              string
	MIDITracks      string
	Inputs          string
	AudioTracks     string
	AudioInstrument string
	Aux             string
	Busses          string
	Outputs         string
	User            string
	Shift           string
	Option          string
	Control         string
	CMDAlt          string
	//Read            string
	//Write           string
	//Trim            string
	//Touch           string
	//Latch           string
	//Group           string
	Save    string
	Undo    string
	Cancel  string
	Enter   string
	Marker  string
	Nudge   string
	Cycle   string
	Drop    string
	Replace string
	Click   string
	Solo    string
	Rewind  string
	FastFwd string
	Stop    string
	Play    string
	Record  string
	Up      string
	Down    string
	Left    string
	Right   string
	Zoom    string
	Scrub   string
	UserA   string
	UserB   string
}

type McuFaders

type McuFaders struct {
	ShowMeters    bool
	SimulateTouch bool
}

type McuLeds

type McuLeds struct {
	//Rec1             string
	//Rec2             string
	//Rec3             string
	//Rec4             string
	//Rec5             string
	//Rec6             string
	//Rec7             string
	//Rec8             string
	//Solo1            string
	//Solo2            string
	//Solo3            string
	//Solo4            string
	//Solo5            string
	//Solo6            string
	//Solo7            string
	//Solo8            string
	//Mute1            string
	//Mute2            string
	//Mute3            string
	//Mute4            string
	//Mute5            string
	//Mute6            string
	//Mute7            string
	//Mute8            string
	//Select1          string
	//Select2          string
	//Select3          string
	//Select4          string
	//Select5          string
	//Select6          string
	//Select7          string
	//Select8          string
	//AssignTrack      string
	//AssignSend       string
	//AssignPan        string
	//AssignPlugin     string
	//AssignEQ         string
	//AssignInstrument string
	//Read    string
	//Write   string
	//Trim    string
	//Touch   string
	//Latch   string
	//Group   string
	Save    string
	Undo    string
	Marker  string
	Nudge   string
	Cycle   string
	Drop    string
	Replace string
	Click   string
	Solo    string
	Rewind  string
	FastFwd string
	Stop    string
	Play    string
	Record  string
	Zoom    string
	Scrub   string
}

type McuVpots

type McuVpots struct {
}

type Midi

type Midi struct {
	PortIn  string
	PortOut string
}

Jump to

Keyboard shortcuts

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