To be honest I have no idea how to implement that, maybe you can ask mitrandir on the official telescope forum?