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_utils.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_utils.py')
| -rw-r--r-- | generate_utils.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/generate_utils.py b/generate_utils.py index e50a656..74fd095 100644 --- a/generate_utils.py +++ b/generate_utils.py @@ -19,9 +19,20 @@ NUM_LAYERS=ceil((BOARD_ROWS * BOARD_COLS) / (2**INDEX_BITS)) # 1 bit: enable bit (turns layer off while we index to a new slot) NUM_PARAM_BITS=(NUM_LAYERS * (8 + INDEX_BITS + 1)) +# Implementation detail. We use this parameter to return from the terminal +# state of the FX layer to the starting state. def getDummyParam(): return "TaSTT_Dummy" +def getResizeEnableParam(): + return "TaSTT_Resize_Enable" + +def getResize0Param(): + return "TaSTT_Resize_0" + +def getResize1Param(): + return "TaSTT_Resize_1" + # Each layer controls a group of cells. There's only one letter per layer, thus # this is also the name of the parameter which sets the letter for a layer. def getLayerParam(which_layer): |
