diff --git a/host.d/config.d/mayhem-party.d/env.env b/host.d/config.d/mayhem-party.d/env.env index 1d986ce..3f6810f 100644 --- a/host.d/config.d/mayhem-party.d/env.env +++ b/host.d/config.d/mayhem-party.d/env.env @@ -1,7 +1,11 @@ export DEBUG=true -export RAW_UDP=17070 -export BUTTON_V01=true -export WRAP_REFRESH_ON_SIGUSR1=true export MAIN_INTERVAL_DURATION=5ms + +export RAW_UDP=17070 + +export PARSE_V01=true +export V01_CONFIG=./config.d/mayhem-party.d/v01.yaml + +export WRAP_REFRESH_ON_SIGUSR1=true + export OUTPUT_KEYBOARD=false -export BUTTON_V01_CONFIG=./config.d/mayhem-party.d/v01.yaml diff --git a/host.d/config.d/mayhem-party.d/v01.yaml b/host.d/config.d/mayhem-party.d/v01.yaml index 94253a0..2f64b68 100644 --- a/host.d/config.d/mayhem-party.d/v01.yaml +++ b/host.d/config.d/mayhem-party.d/v01.yaml @@ -1,5 +1,6 @@ feedback: addr: :17071 + ttsaddr: http://localhost:15002 users: bel: player: 2 diff --git a/src/device/input/parse/v01/v01.go b/src/device/input/parse/v01/v01.go index e508967..930383a 100644 --- a/src/device/input/parse/v01/v01.go +++ b/src/device/input/parse/v01/v01.go @@ -15,7 +15,7 @@ import ( var ( FlagDebug = os.Getenv("DEBUG") == "true" - FlagParseV01Config = os.Getenv("PARSE_V01_CONFIG") + FlagParseV01Config = os.Getenv("V01_CONFIG") ) type (