This is a repo with edited code from Paul Beaudet so it would work on my hardware, here is the original repo https://github.com/PaulBeaudet/tenkey.