Sun Keymap: http://shikasan.net/sunkey/sunkey_e.html
http://kentie.net/article/sunkbd/translate.pdf
http://kentie.net/article/sunkbd/KBD.pdf
Teensy Keylist: https://www.pjrc.com/teensy/td_keyboard.html
Source Code: https://github.com/Oflameo/sun-type-5-keyboard-retrofit
I got an original teensy powering my Apple Extended Keyboard II, hope you succeed in your Sun build, always wanted one of their keyboards :)