0-9 preset bundles join wxcvbn behind VIZ_SOURCE_KEYS (default off) — the whole source row is now perf-safe.
This commit is contained in:
@@ -42,7 +42,7 @@ HAND_HOLD_FRAMES 2 int gesture slot hold: frames to carry
|
||||
ARKIT_BONE_MAX 0.5 float max bone length (norm) for ARKit skeleton
|
||||
ARKIT_FULL_SKELETON "1" bool draw full 91-joint ARKit body (!=0 = True)
|
||||
VIZ_HUD "0" bool show debug HUD overlay
|
||||
VIZ_SOURCE_KEYS "0" bool wxcvbn source-bundle shortcuts (off: perf safety)
|
||||
VIZ_SOURCE_KEYS "0" bool wxcvbn + 0-9 source-bundle shortcuts (off: perf safety)
|
||||
VIZ_AUDIO_KEYS "0" bool qsdfghjkl audio-scene shortcuts (off: perf safety; m stays)
|
||||
IPHONE_OSC_PORT 57128 int UDP port for iPhone ARBodyTracker /body3d/kp
|
||||
CONCERT_MIRROR "1" bool mirror video horizontally (!=0 = True)
|
||||
|
||||
@@ -648,12 +648,11 @@ class AppDelegate(NSObject):
|
||||
self._state.active_scene = scene
|
||||
LOG.info("[audio] scene -> %s", scene)
|
||||
return None
|
||||
# wxcvbn -> preset bundle: gated OFF by default (VIZ_SOURCE_KEYS=1
|
||||
# re-enables) — a stray keypress mid-performance switches the audio
|
||||
# scene. The 0-9 numeric bundles stay active.
|
||||
# wxcvbn + 0-9 -> preset bundles: ALL gated OFF by default
|
||||
# (VIZ_SOURCE_KEYS=1 re-enables) — stray keypresses mid-performance
|
||||
# switch the audio scene (user-disabled live 2026-07-02).
|
||||
_src_maps = ((*KEYMAP_SOURCE, *KEYMAP_SOURCE_NUM)
|
||||
if getattr(self, "_source_keys", False)
|
||||
else KEYMAP_SOURCE_NUM)
|
||||
if getattr(self, "_source_keys", False) else ())
|
||||
for kk, source, scene, viz in _src_maps:
|
||||
if key == kk or k == kk:
|
||||
# Audio : envoie a sclang
|
||||
|
||||
Reference in New Issue
Block a user