cfg/main.cfg: Added 'listEle' to uiTest.

This commit is contained in:
kevin 2021-11-03 11:11:09 -04:00
parent 7bc3653262
commit 2926fc17b6

View File

@ -52,7 +52,23 @@
fmtBufByteN: 4096,
websockTimeOutMs: 50, // max time out while blocking for a websock event
uiCfgFn: "ui.cfg" // default UI resource description
}
},
listEle: {
row: {
check: { name: playCheckId, title:"Play", value: false },
select: { name: preMenuId, title:"Preset",
children:
{
option:{ name: psOpt1, title:"Sel 1" },
option:{ name: psOpt2, title:"Sel 2" },
option:{ name: psOpt3, title:"Sel 3" }
},
}
},
}
},
socketMdns: {},
@ -76,10 +92,12 @@
pollPeriodMs: 50,
recvBufByteN: 512,
array: [
{
{
enable_flag: true,
label: "port1", // User label
device: "/dev/ttyUSB0", // Serial device name
device: "/dev/ttyACM0", // Serial device name
baud: 115200,
bits: 8,
stop: 1,
@ -200,19 +218,21 @@
},
serial: [
{
label: "port1", // User label
device: "/dev/ttyACM0", // Serial device name
baud: 38400,
bits: 8,
stop: 1,
parity: no,
pollPeriodMs: 50,
serial:
{
pollPeriodMs: 50,
recvBufByteN: 512
}
],
array: [
{
label: "port1", // User label
device: "/dev/ttyACM0", // Serial device name
baud: 38400,
bits: 8,
stop: 1,
parity: no,
}
]
},
midi: {
@ -1166,6 +1186,8 @@
midi_timer_period_micro_sec: 15000,
midi_out_device: "Fastlane"
midi_out_port: "Fastlane MIDI A",
//midi_out_device: "PipeWire-RT-Event"
//midi_out_port: "input",
audio_in_ch_map: [0, 1 ],
audio_out_ch_map: [0, 1 ]
@ -1182,7 +1204,7 @@
uiCfgFn: "ui.cfg" // default UI resource description
},
serial: [
serial:
{
pollPeriodMs: 50,
recvBufByteN: 512,
@ -1199,8 +1221,7 @@
}
]
}
],
},
midi: {