Arrduino as virtual keyboard

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