Skip to main content

SENSOR_POSITIONS

Constant SENSOR_POSITIONS 

Source
pub const SENSOR_POSITIONS: [[bool; 21]; 6];
Expand description

Whether each matrix position has a physical hall-effect sensor.

Excluding these positions from calibration prevents their floating ADC readings from crossing the threshold spuriously and advancing calibrated_count to total_keys prematurely, which would cut the full-travel window short before all real keys are pressed.