File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ status = "MTFG not running"
1212multiaxis = false
1313tmpFileName = "funscript_actions.json"
1414tmpFileExists = false
15+ enableLogs = false
1516scriptNames = {}
1617scriptAssignment = {x={idx=1}, y={idx=1}, roll={idx=1}}
1718
@@ -82,6 +83,10 @@ function start_funscript_generator()
8283 table.insert(args, "--multiaxis")
8384 end
8485
86+ if enableLogs then;
87+ table.insert(args, "--logs")
88+ end
89+
8590 table.insert(args, "-s")
8691 table.insert(args, tostring(currentTimeMs))
8792 table.insert(args, "-i")
@@ -422,13 +427,14 @@ function gui()
422427 end
423428
424429 ofs.Separator()
425-
426- multiaxis, valueChanged = ofs.Checkbox("multiaxis", multiaxis)
430+ ofs.Text("Options:")
431+ enableLogs, _ = ofs.Checkbox("Enable logging", enableLogs)
432+ multiaxis, _ = ofs.Checkbox("Enable multiaxis", multiaxis)
427433
428434 if multiaxis then
429435 local comboNum = 1
430436 for k,v in pairs(scriptAssignment) do
431- ofs.Text(k.." => ")
437+ ofs.Text(" o ".. k.." -> ")
432438 ofs.SameLine()
433439 v.idx, _ = ofs.Combo("#"..tostring(comboNum), v.idx, scriptNames)
434440 comboNum = comboNum + 1
You can’t perform that action at this time.
0 commit comments