This is enabled via a microswitch mounted on the handbrake mechanism.