I've put together a calibration dialog, with API similar to the other utility dialogs and a theme similar to the playstation guncon calibration screen.

Source code is included, so you can rewrite the graphics or sensor access parts.
Download link for guests:
http://www.sendspace.com/file/n1kc1hIt's also attached to this post, I don't mind which you download they are both the same.