Keyboard Configuration

Key Combinations & Sequences

You can program a key to perform the function of a combination or sequence of keys. For example, you can cause the F1 key to perform the same function as pressing the keys Alt + F4 together, or pressing the keys F2 then F3 then F4.

Keys are identified by their virtual key names as listed in the Virtual Key Names appendix. The virtual key name has to be enclosed by the < and > characters in the key definition box. You may omit the VK_ and VT_ (etc.) parts of the virtual key name.

To program a key so that it performs the same function as pressing two or more other keys together, type the < character followed by the virtual key names linked together with + (plus sign) characters and ending with the > character.

For example, to program the F1 key so that when it is pressed it performs the same function as pressing the keys Alt + F4 together, enter the following characters in the key definition box: <ALT+F4>

To program a key so that it performs the same function as pressing a sequence of keys one after the other, enter each virtual key name in the order required, enclosing each virtual key name with the < and > characters. Each enclosed virtual key name must immediately follow the previous enclosed virtual key name with no spaces. For example, to program the A key so that when it is pressed it performs the same function as pressing the keys F2 then F3 then F4 enter the following characters in the key definition box: <F2><F3><F4>

Specifying Characters

There are various ways in which you can specify a particular character. For example, the ESC character can be specified using any one of the following five entries:

_027

Decimal value (underscore character followed by a 3-digit number).

\033

Octal value (backslash character followed by a 3-digit number).

\u001B

Unicode value (backslash and u characters then unicode value).

^[

Control key value (^ represents the control key on the keyboard).

\e

Additional value for ESC.

 

 

The following 'backslash' values can be used:

 

 

 

\u

Unicode introducer

\r

Carriage return

 

\n

Line feed

\e

Escape

Note that as the \ and ^ characters are used as value introducers, to enter these as character values you need to precede them with a backslash character, i.e. enter \ as \\ and ^ as \^.

The Euro character can be specified by entering the unicode value \u20ac.

3-3