Does anyone know of a program that will output the key combination a PC receives from a keyboard / input device?

I got a cheap MCE Remote and works fairly well but apparently MythTV doesn't handle Shift + key combo. There's some instructions on how to remap it, but I don't know the starting combination. Using the MythTV button mapping doesn't work because, again it doesn't know the difference between CAPITAL and lowercase.