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,6 +52,22 @@
fmtBufByteN: 4096, fmtBufByteN: 4096,
websockTimeOutMs: 50, // max time out while blocking for a websock event websockTimeOutMs: 50, // max time out while blocking for a websock event
uiCfgFn: "ui.cfg" // default UI resource description 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" }
},
}
},
} }
}, },
@ -76,10 +92,12 @@
pollPeriodMs: 50, pollPeriodMs: 50,
recvBufByteN: 512, recvBufByteN: 512,
array: [ array: [
{ {
enable_flag: true,
label: "port1", // User label label: "port1", // User label
device: "/dev/ttyUSB0", // Serial device name device: "/dev/ttyACM0", // Serial device name
baud: 115200, baud: 115200,
bits: 8, bits: 8,
stop: 1, stop: 1,
@ -200,7 +218,11 @@
}, },
serial: [ serial:
{
pollPeriodMs: 50,
recvBufByteN: 512
array: [
{ {
label: "port1", // User label label: "port1", // User label
device: "/dev/ttyACM0", // Serial device name device: "/dev/ttyACM0", // Serial device name
@ -208,11 +230,9 @@
bits: 8, bits: 8,
stop: 1, stop: 1,
parity: no, parity: no,
pollPeriodMs: 50,
recvBufByteN: 512
} }
], ]
},
midi: { midi: {
@ -1166,6 +1186,8 @@
midi_timer_period_micro_sec: 15000, midi_timer_period_micro_sec: 15000,
midi_out_device: "Fastlane" midi_out_device: "Fastlane"
midi_out_port: "Fastlane MIDI A", midi_out_port: "Fastlane MIDI A",
//midi_out_device: "PipeWire-RT-Event"
//midi_out_port: "input",
audio_in_ch_map: [0, 1 ], audio_in_ch_map: [0, 1 ],
audio_out_ch_map: [0, 1 ] audio_out_ch_map: [0, 1 ]
@ -1182,7 +1204,7 @@
uiCfgFn: "ui.cfg" // default UI resource description uiCfgFn: "ui.cfg" // default UI resource description
}, },
serial: [ serial:
{ {
pollPeriodMs: 50, pollPeriodMs: 50,
recvBufByteN: 512, recvBufByteN: 512,
@ -1199,8 +1221,7 @@
} }
] ]
} },
],
midi: { midi: {