Nowadays, I find that I use my PC gamepad as often as my mouse/keyboard.
If implemented correctly, a M/K control scheme can be just as good if not better than an analog controller for a 3d platform game. I played both Tomb Raider and Super Mario 64 all the way through when they were released (which was around the same time), but neither control scheme seemed to have an obvious advantage.
More recently, I played some of the Assassin's Creed games on the PC, and the control was pretty much perfect. When the first one came out, I remember some reviewers were surprised to find that they liked the PC version's controls more than the console version's.
For racing games, I agree, the analog controller is superior. It's also superior for fighting games and sports games.
It is OK for most games, but not ideal.
As for flight simulators, I guess it depends on what you mean by a flight sim. Old school flight sims are where I got my start in gaming, back in the early to mid 90s when they at least tried to seem realistic. Lately, it seems that most "flight sims" are arcade shooters with historically accurate aircraft models.
If you are playing an arcade game, the console controllers are superior; if you are playing an actual flight sim, console controllers and the mouse / keyboard combo are absolutely terrible, with the mouse/keyboard getting a slight edge due to the impossibility of implementing that many commands on a console controller.
2. You may want to keep survivorship bias in mind. (If you had a game that kb/m wasn't ideal for, would you even bother releasing it on the PC?)
Edit: I was addressing this comment, not claiming that the keyboard is superior in all situations.
>There's a reason PC games are treading water with support for little-to-nothing beyond kb/m and dodgy/partial support for the 360 gamepad here and there.