usb host shield, usb keyboard input...hexadecimal?

am i dreamin, or is this going to be as easy as

if(key  == 1A){do stuff}

??

edit, spent time reading about the whats and whys of hexadecimals, and why a "conversion" isn't necessary. i have some things to try when i'm at the desk tomorrow, mostly hinging on the above "what if"