* 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.
In case of discarded frames (no end frame or no layers) we don't get
called on mark_gpu_done, so times don't get updated. If the game
continues to call waitFrame, we advance the predicted display time, but
may enter the immediate return, accumulating delay.
1% error on norm is too much and can cause overflow in quantization
Even accurate normalization can have errors when computing sqrt if one
coordinate is almost 0
The SPS allowed coding blocks down to 8x8. On NVIDIA that costs 4x the
encode time: 13.4 ms per 1920x1472 frame against 4.4 ms for the same
GPU's NVENC path, so the encoder sustained 36.5 fps against a 90 Hz
target. At 16x16 it is 3.2 ms and holds 90 Hz.
mdns would only inspect interfaces it knows about when it is started.
USB may not be usable as soon as the interface is brought up, so poll
every now and then.
The angular velocity was worked out with the wrong formula. It used
dq * q, but it should be dq * q^-1 (the inverse of q, which is just
its conjugate here because q is normalized).
Using q instead of its inverse pointed the angular velocity the wrong
way. Games read this value when you let go of a controller, so thrown
objects came out spinning wrong.