That's only half stupid. The last primary I voted in I used a poorly-designed-by-committee interface which then printed out my ballot which I then fed into the scanner.
The style where it prints out a ballot which you feed into the scanner is actually not-insane. It's good for accessibility (e.g. lets visually impaired people vote without assistance) but still leaves a paper trail for recounts and things.