It's probably more a question of..are there virtual keys for uppercase?

Maybe someone can offer another solution.

Say I have a string of "HeY". How could I send that into a function to have it typed out in the same case?