'Interfacing' with a bicycle - sensing braking [solved]

If you are using v-brakes, why not just put a flex sensor across the two arms (where the rubber boot is in the pic below):