According to my finding there is no SDK for developers to control this camera. More over, even Pentax Remote Assistant is not able to control lens like Canon or Nikon. Sorry, it looks like Pentax is not yet ready to be automated.
If and when the Pentax K20D is supported, I need it ASP and will demo it in my computer classes. I am getting ready to publish a book on micro bugs of my area. Thanks, Bob