Handheld Scientific, Inc.Page 9 of 253. Key NamesMany commands take key names as parameters so it is important to understand them. Keynames are used to find the corresponding keycode. In USB technology, each key name or keycode represents one key in the keyboard. Although some keys have two symbols associatedwith them (e.g., “1” and “!” are the same key), there is only one unique keycode associated withthat key.The “+” character is used to indicate multiple keys (compound keys) so it cannot appear in keynames. Other than that, any ASCII characters can be used in key names.There is no separate keycode for “upper case” or “lower case” like in the ASCII character set.To generate an uppercase character, one needs to emulate the actual typing. For example, togenerate upper case character A, one needs to do “shift a shift”. This can be accomplished by amacro.3.1 Basic Key NamesA basic key name represents just one single key. There are three groups of those names:modifier keys, media keys and normal keys.• Modifier keys: there are eight of them: l_shift, l_ctrl, l_com, l_alt, r_shift, r_ctrl, r_comand r_alt.The names ctrl, com, alt and shift are not basic key names. They are ambiguous sincethere are left and right of those. However, those names can be used in some situations,such as in the mapping destinations, as abbiviation to indicate either left or right modifierkeys.• Media keys: vol_inc, vol_dec, mute, stop, play, mute, etc.• Normal keys: any key except the above are normal keys. Those include a-z, 0-9, f1-f12,all keypad keys, and so on.You can list all basic key names supported in the firmware by using the “key_name” command.The three lock keys, namely Caps lock, Num lock and Scroll lock, are not currently supported inany functions. So the key names do not include them.Some keyboards, such as those from Logitech, have programmable keys marked as G1, G2,etc. If they are programmed as keyboard keys, then they are just like any other normal keys. Ifthey are custom keys that rely on software or device driver from the vendor, then they are notsupported since they don’t generate standard USB HID keycodes.3.2 Compound Key NamesA compound key name is one or two modifier keys plus a basic key, such as ctrl+a orctrl+alt+ins. Note there is no space between the names. A compound key name can be used insome commands where a key is expected. They are also used in shortcuts (command modeshortcut, interface activation shortcut and layer switching shortcut).3.3 Generic Representation of Key NamesIn all the places where a basic or compound name is expected, you can also use the genericform of names. A generic name is a 4-byte hex number starting with prefix 0x. The first byte is