Arrduino as virtual keyboard

I am trying to make a virtual usb keyboard using my arduino. The problem is that when i use the library <interrupt.h> and error occurs with the following statement static uchar    idleRate;    the following error message is generated " ‘uchar’ does not name a type" . Can anyone help me to deal with this problem or can anyone tell me if there is another method to create a virtual keyboard using an arduino???

uchar is not one of the standard types described in the arduino reference manual, and without a more comprehensive code sample it is impossible to tell if it was defined in one of the header files you included.

That said I would expect you want either a unsigned char or a unicode character. Either way, you will need to include a header file that defines the type uchar

The error message you received indicates that the compiler has not yet been informed on how to handle a type uchar