![L3 Systems KeyAT-4 Скачать руководство пользователя страница 7](http://html.mh-extra.com/html/l3-systems/keyat-4/keyat-4_manual_665110007.webp)
KeyAT-4 Keyboard Port Adapter
L3 Systems
5
5/19/2007
~S
Scan Code Mode
- In this mode, data is translated to the corresponding keyboard
scan codes. For an ASCII transfer, each pair of ASCII encoded characters is
interpreted as a DOS scan code. DOS assigns each key a DOS scan code. Note
that all DOS scan codes are sent complete with make and break sequences.
~K
Key Code Mode
- In this mode, codes are sent directly to the computer without
interpretation. For an ASCII transfer, each pair of ASCII encoded characters are
interpreted as one keyboard code. Care should be taken in using keyboard scan
codes, as the computer can be left in a very confused state if the scan code
sequence is not properly completed.
Send a scan code
If you want to send a scan code without going into scan code mode, then use the ~:nn
command. This is useful for the occasional function key, arrow key or any other keys
that doesn’t have an ASCII equivalent. See the scan code table later on for a list of valid
scan codes.
~:nn
Send Scan Code
– This scan code nn.
Example
:
:~:73<ENTER>
(sends PgUp)
Up/Down Scan Codes
Use these two commands to send a key down or a key up to the computer. A common
use is for Shift, Alt and Cntl keys, which vary the meaning of successive scan codes. See
the scan code table later on for a list of valid scan codes.
~+nn
Key down Scan Code
– This sends just the key down (make) sequence for
scan code nn.
~-nn
Key up Scan Code
– This sends just the key up (break) sequence for scan
code nn.
Example
:
:~+56~:62~-56<ENTER>
(sends <Alt>F4)
where:
~+56
Sends Alt down sequence
~:62
Sends F4 scan code
~-56
Sends Alt up sequence