This study reveals that locomotion speed is encoded in mouse primary motor cortex through a sigmoidal state-transition mechanism carried by two functionally distinct spiking populations with a shared speed threshold. Using high-density laminar recordings and markerless motion tracking, we show that this framework extends to local field potentials and enables accurate, generalizable decoding. These findings establish a push-pull sigmoidal architecture and highlight implications for stable, calibration-light brain-machine interface design.