shard_accumulator only keeps a weak_ptr to the stream, but setup() passed
it a temporary from shared_from_this(). setup() runs on the network
thread, so if the main thread drops its reference meanwhile (e.g. while
shutting down after XR_ERROR_INSTANCE_LOST), that temporary is the last
one and ~stream runs on the network thread. It then joins
network_thread from itself: std::system_error (EDEADLK) and
std::terminate.
Pass weak_from_this() instead so no strong reference is created.
Blacklist XR_EXT_hand_interaction for HTC so the runtime can't switch
/user/hand/* to ext/hand_interaction_ext mid-session, which drops
controller button input whenever that profile is briefly active.
Point the Focus3 squeeze/touch binding at XRT_INPUT_FRAME_SQUEEZE_TOUCH,
the name the device actually exposes for that slot, instead of a name
that's never set active.
* translate the strings added in the settings and lobby UI
* translate the strings added to the connection wizard
* add missing de translations for new settings strings
* add missing de translations for new settings strings
interpolate(before, after, t) expects t = 0 at the before sample and
t = 1 at the after sample (see hand_joints_list.cpp: radius = a.radius
* (1 - t) + b.radius * t, and monado's m_space_relation_interpolate
which lerps from the predecessor with the elapsed fraction).
The factor was computed as (after - now) / (after - before), which is
1 - t: querying at the before timestamp returned the after sample,
querying at the after timestamp returned the before sample, and
queries in between returned the pose mirrored about the segment
midpoint.
Compute t from the before sample so hand and body skeleton queries
between two tracking samples interpolate along the motion instead of
against it.
The self-assignment in the haptics handler left the stored amplitude
at its initial value of 0, so the "skip redundant calls" guard was
true for every amplitude-0 packet and haptic_stop() was never called.
Rumbles could not be cancelled early and kept playing for their whole
duration.
Store the newly applied amplitude so the guard only skips stops when
nothing was playing.