Ok man I found the problem it was infinite resistance between the keyboard and chair

Its working now. Working on cleaning up the code and will post new code when i'm done... It wasn't my code that was the problem it was me lol