Adapting the headlamp pattern from the headlamps

The headlamp pattern can be reset when changing from right to left-hand traffic, and vice versa. This function adapts the light from the headlamps to reduce the risk of dazzling oncoming traffic.