Thanks for writing.
If you look here, you'll see that the keyboard character '1' has a decimal ASCII value of 49:
http://web.cs.mun.ca/~michael/c/ascii-table.html
The 'input code' field refers to the ASCII character you're trying to transmit.
Make sense?