Here's the link I was thinking of:
http://blog.rlove.org/2010/10/kindle-3-kernel.html
I found this quite useful in understanding the hardware. Still a bunch of unanswered questions, like where is the third SD-card interface the kernel claims is there? etc...
Anyway, you should at least be able to look up the luigibutton stuff and figure out the ioctls.