diff --git a/src/channeloutput/RGBMatrix.cpp b/src/channeloutput/RGBMatrix.cpp index 9f2767afc..72689f093 100644 --- a/src/channeloutput/RGBMatrix.cpp +++ b/src/channeloutput/RGBMatrix.cpp @@ -233,6 +233,32 @@ int RGBMatrixOutput::Init(Json::Value config) { options.row_address_type = config["panelRowAddressType"].asInt(); } + /* mortification77 - 2023-11-30: Add panelType + + panelType Definitions + + NOTE: IF we are against inline "const char *", we can create constants. + + 0 = default + 1 = FM6126A + 2 = FM6127 + + */ + + if (config.isMember("panelType")) { + switch(config["panelType"].asInt()) + { + case 1: + options.panel_type = "FM6126A"; + break; + case 2: + options.panel_type = "FM6127"; + break; + default: + break; + } + } + m_rgbmatrix = RGBMatrix::CreateFromOptions(options, runtimeOptions); if (!m_rgbmatrix) { LogErr(VB_CHANNELOUT, "Unable to create RGBMatrix instance\n"); diff --git a/www/co-ledPanels.php b/www/co-ledPanels.php index 8c4f73c34..722f14a2b 100644 --- a/www/co-ledPanels.php +++ b/www/co-ledPanels.php @@ -136,6 +136,17 @@ function printLEDPanelInterleaveSelect($platform) $values["ZStripeUneven"] = "8"; $values["P10-128x4-Z"] = "9"; $values["QiangLiQ8"] = "10"; + // mortification77 - 2024-10-27 - Add Missing Interleave Values + $values["InversedZStripe"] = "11"; + $values["P10Outdoor1R1G1-1"] = "12"; + $values["P10Outdoor1R1G1-2"] = "13"; + $values["P10Outdoor1R1G1-3"] = "14"; + $values["P10CoremanMapper"] = "15"; + $values["P8Outdoor1R1G1"] = "16"; + $values["FlippedStripe"] = "17"; + $values["P10Outdoor32x16HalfScan"] = "18"; + $values["P10Outdoor32x16QuarterScanMapper"] = "19"; + $values["P3Outdoor64x64MultiplexMapper"] = "20"; } foreach ($values as $key => $value) { echo "