Hi! Can't you implement the functionality with the info and code from pkTriggercord?...
support of all recent pentax DSLR cameras