|
@@ -353,7 +353,7 @@ struct {identifier} : Module {{""" |
|
|
|
|
|
|
|
|
# Params |
|
|
# Params |
|
|
source += """ |
|
|
source += """ |
|
|
enum ParamIds {""" |
|
|
|
|
|
|
|
|
enum ParamId {""" |
|
|
for c in components['params']: |
|
|
for c in components['params']: |
|
|
source += f""" |
|
|
source += f""" |
|
|
{c['name']}_PARAM,""" |
|
|
{c['name']}_PARAM,""" |
|
@@ -363,7 +363,7 @@ struct {identifier} : Module {{""" |
|
|
|
|
|
|
|
|
# Inputs |
|
|
# Inputs |
|
|
source += """ |
|
|
source += """ |
|
|
enum InputIds {""" |
|
|
|
|
|
|
|
|
enum InputId {""" |
|
|
for c in components['inputs']: |
|
|
for c in components['inputs']: |
|
|
source += f""" |
|
|
source += f""" |
|
|
{c['name']}_INPUT,""" |
|
|
{c['name']}_INPUT,""" |
|
@@ -373,7 +373,7 @@ struct {identifier} : Module {{""" |
|
|
|
|
|
|
|
|
# Outputs |
|
|
# Outputs |
|
|
source += """ |
|
|
source += """ |
|
|
enum OutputIds {""" |
|
|
|
|
|
|
|
|
enum OutputId {""" |
|
|
for c in components['outputs']: |
|
|
for c in components['outputs']: |
|
|
source += f""" |
|
|
source += f""" |
|
|
{c['name']}_OUTPUT,""" |
|
|
{c['name']}_OUTPUT,""" |
|
@@ -383,7 +383,7 @@ struct {identifier} : Module {{""" |
|
|
|
|
|
|
|
|
# Lights |
|
|
# Lights |
|
|
source += """ |
|
|
source += """ |
|
|
enum LightIds {""" |
|
|
|
|
|
|
|
|
enum LightId {""" |
|
|
for c in components['lights']: |
|
|
for c in components['lights']: |
|
|
source += f""" |
|
|
source += f""" |
|
|
{c['name']}_LIGHT,""" |
|
|
{c['name']}_LIGHT,""" |
|
|