In Kansas, at least when I was working, keys had to be in the ignition (vehicle engine on or off) and suspect in the drivers seat for a DUI charge. Of course we could exercise discretion and I often did generally based on their attitude.
Attitude is everything. I just remember how he told it to me. Very well could have had keys in ignition. Just seemed odd that in your own driveway they could pull in and ticket you..