Key names are used in TCC-RT in the INKEY and KEYSTACK commands. The format of a key name is the same in all four cases:




The valid prefix and keyname combinations are shown in the table below. Names of keys must be spelled exactly as shown, except for case. Note that you cannot specify a punctuation key.



Valid for keynames


A-Z, 0-9, F1-F24, Tab, Bksp, Enter, Up, Down, Left, Right, PgUp, PgDn, Home, End, Ins, Del, Esc, Apps, Sleep, Select, Execute, Print, Mute, VolumeUp, VolumeDown


A-Z, 0-9, F1-F24, Bksp, and the non-alphanumeric keys `-=[]\;',./


A-Z,  F1-F24, Tab, Bksp, Enter, Up, Down, Left, Right, PgUp, PgDn, Home, End, Ins, Del


A-Z,  F1-F24, Tab


A-Z,  F1-F24


A-Z,  F1-F24


The prefix and key name must be separated by a hyphen (-). For example:


Alt-F10 ctrl-bksp


Some keys are intercepted by Windows and are not passed on to CMDebug or TCC-RT. For example, Alt-Tab, Alt-Esc and Ctrl-Esc typically pop up a task list, or are used in switching among multiple tasks. Alt-space brings down a menu to control window size and position, etc. Keys which are intercepted by the operating system (including menu accelerators, i.e. Alt plus another key) generally cannot be read in INKEY or INPUT because TCC-RT never receives these keystrokes. However, KEYSTACK can send them to Windows (though not to another application).


The above comments are based on common 101/102-key US-style keyboards. Some key combinations might not be available on some keyboards.