buster_dylan 1ce6db6e2c Skip active recalibration for unreliable devices
ELAN_CALIBRATION_MAX_DELTA raised to 65535 to prevent the
recalibration state machine from running on devices like 04f3:0c6e
where the 0x01→0x03 status transition is intermittently absent,
causing frequent 'Calibration failed!' session errors. The background
image is still re-captured fresh on each activation — we just skip
the active recalibration handshake.

Also bumps ELAN_CALIBRATION_ATTEMPTS to 100 as a safety net for
devices that do support the full calibration sequence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 00:15:28 +10:00
..