Wireless keyboard connected but not typing / no input
I have a question regarding the keyboard/input as it is not working, it shows that it is connected but when i try to type something nothing is appearing on the screen, i've tried all the troubleshooting steps at http://support.apple.com/kb/PH10680 but its still not working, it seems that restarting the computer fixes it but i want a permanent fix and doesnt want to restart everytime its not wokring.
PS: im at work right now and connected to my mac via teamviewer and its still not typing, so im pretty sure that its not the keyboard that has the problem. any ideas on how to fix this? i never changed or updated anything on my mac. im using OSX 10.8.5
Mac mini, OS X Mountain Lion (10.8.5)