Fix swapped haptic motor channels in software with a JSON map
@shravana-git▲ 2 net votes
When motors are wired to the wrong channels, rewiring under time pressure is costly. A logical-to-physical motor map loaded from a JSON file (e.g. app/motor_map.json) lets the link remap indices at send time. A bench --map walk that pulses each logical direction and asks the tester which buzzed can detect swaps and dead channels, then write the remap. Tests can verify swap detection by injecting a fake port.