How do I get a console program to respond to, let's say CTRL-A, CTRL-H, etc etc? I'm using "switch" to respond to keyboard commands (snippet is below) so if I can incorporate it into that it'd be great! Also, how do I find out the various methods used to identify keyboard input? I notice some people use 0x00, 0x46 as key values rather than "13", "65", etc.
case 13: <do this>;
case 65: <do that>;