diff options
| author | yum <yum.food.vr@gmail.com> | 2022-10-02 17:24:16 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-10-02 17:24:16 -0700 |
| commit | 704fd9a64fb8a8b1e929700c3e7413f8c3aaa2c2 (patch) | |
| tree | 0906bf698d1f4a20eff581ec7a7ea465975b0eaa /generate_params.py | |
| parent | f09f444a9c5761da6e6e115e1cddc10a79faa53a (diff) | |
Add parameters to resize board (likely broken)
... and a bunch of bugfixes:
* Shader is now transparent
* Simplify shader row/column calculation
* Add punctuation to texture
* Fix generate.sh
* Add lorum_ipsum.txt
* Fix how long text is scrolled
* Simplify encoding logic in osc_ctrl.py
Diffstat (limited to 'generate_params.py')
| -rw-r--r-- | generate_params.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/generate_params.py b/generate_params.py index 665a439..bb7fcdf 100644 --- a/generate_params.py +++ b/generate_params.py @@ -39,9 +39,16 @@ BOOL_PARAM = """ params = {} print(generate_utils.replaceMacros(PARAM_HEADER, params)) -# Implementation detail. We use this parameter to return from the terminal -# state of the FX layer to the starting state. -params["PARAM_NAME"] = "TaSTT_Dummy" +params["PARAM_NAME"] = generate_utils.getDummyParam() +print(generate_utils.replaceMacros(BOOL_PARAM, params)) + +params["PARAM_NAME"] = generate_utils.getResizeEnableParam() +print(generate_utils.replaceMacros(BOOL_PARAM, params)) + +params["PARAM_NAME"] = generate_utils.getResize0Param() +print(generate_utils.replaceMacros(BOOL_PARAM, params)) + +params["PARAM_NAME"] = generate_utils.getResize1Param() print(generate_utils.replaceMacros(BOOL_PARAM, params)) for i in range(0, generate_utils.NUM_LAYERS): |
