From bd8b63a357bb374f5875f0fedf2d677589419810 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 22 Nov 2022 15:36:19 -0800 Subject: 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. --- libunity.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libunity.py') diff --git a/libunity.py b/libunity.py index 822c238..9380a6c 100644 --- a/libunity.py +++ b/libunity.py @@ -521,6 +521,11 @@ class UnityAnimator(): p0.sequence += p1.sequence a0.sequence += a1.sequence + for elm in p0.sequence: + elm.mapping['m_Controller'].mapping['fileID'] = ctrl0.anchor + for elm in a0.sequence: + elm.mapping['m_Controller'].mapping['fileID'] = ctrl0.anchor + return ctrl0 def merge(self, other): -- cgit v1.2.3