Type 2 diabetes can undermine driving performance of middle-aged male drivers through its deterioration of perceptual and cognitive functions.