diff options
| author | yum <yum.food.vr@gmail.com> | 2022-11-22 15:36:19 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-11-22 18:13:18 -0800 |
| commit | bd8b63a357bb374f5875f0fedf2d677589419810 (patch) | |
| tree | 0bb804459ebb7ad50e2a817bd842afd946339b30 /generate_utils.py | |
| parent | 27a67666c320bed3b4a18e415eb9702b03f8f0b5 (diff) | |
Rework input controls
Press joystick once to start recording, again to stop. When you start
recording, any previous text on the board is cleared.
Add 2 visual indicators: one to indicate speech, another to indicate
that audio is paging.
Diffstat (limited to 'generate_utils.py')
| -rw-r--r-- | generate_utils.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generate_utils.py b/generate_utils.py index 119714d..c4cbf4c 100644 --- a/generate_utils.py +++ b/generate_utils.py @@ -94,6 +94,12 @@ def getSelectParam() -> str: def getEnableParam(): return "TaSTT_Enable" +def getIndicator0Param(): + return "TaSTT_Indicator_0" + +def getIndicator1Param(): + return "TaSTT_Indicator_1" + def getBoardIndex(which_layer, select): # Because we divide the board into a multiple of 8 cells, some cells may # describe animations which don't exist, depending on the size of the board. |
