[Vassilis Papanikolaou] just finished building a gear indicator for a motorcycle ... There’s a magnet on the shifter and two hall effect sensors at the position for ‘gear up’ and ‘gear ...
When the motorcycle stops, though, the ball bearings stop spinning and lock into place. With the balls in the way, the transmission can't shift into second gear, so it defaults to neutral instead.