The mechanical gyro splits the brake cable into two parallel lines, which are then joined back together to activate the rear brake via a single cable. This ensures that the brake always works in the same way, regardless of the rotation of the handlebars.
Credit
@maddogboris