A driver that replaces a scancode translator can expect to handle a Keyboard ISR Event Record
(table 5.10). If the translator wishes to remove the passed in scancode from the scancode
stream, it returns a status of RS_DONE. Otherwise, a return status of RS_SUCCESSFUL should
be set and an appropriate ISR EVENT record returned. The ISR Event Record will then be passed
on to the next driver in the chain. The driver can depend on 20H bytes of stack.
On Entry:
AX
=
F16_SET_MAPPING (6F06H)
ES:SI
=
Pointer to table.
CX
=
01 EH (size of table in bytes)
On Exit:
AH
=
OOH (Successful)
Registers Altered:
AX
F16_SET->CLATORS
(AX
=
6F07H)
This subfunction sets the current mappings of the HP Softkey (V_SOFTKEY) and HP Cursor
Control Pad (V_CCP) translators. Note that only one translator may be set with each call to this
subfunction. Figure 5.1 shows the possible mappings for the two HP proprietary keypads.
On Entry:
AX
=
F16_SETJLATORS (6F07H)
BL
=
Translation
Data
Definition
OOH
Maps V_CCP to V_CCPCUR which forces the HP Cursor Pad to generate
Numeric pad cursor key scancodes, regardless of state of
<
Num lock>.
(Default mapping)
01 H
Maps V_CCP to V_CCPNUM which forces the HP Cursor Pad to generate
numeric pad or cursor key scancodes, depending on state of
<
Num lock>.
02H
Maps V_CCP to V_OFF which disables the HP Cursor Pad.
03H
Maps V_CCP to V_CCPGID (if installed) which converts HP Cursor Pad data
to GID data.
04H
Maps V_CCP to V_RAW which passes HP Cursor Pad scancodes
untranslated to the INT 09H driver.
05H
Maps V_SOFTKEY to V_SKEY2FKEY which translates HP Softkey scancodes
into equivalent industry standard function key scancodes. (Default mapping)
06H
Maps V_SOFTKEY to V_RAW which passes HP Softkey scancodes
untranslated to INT 09H driver.
07H
Maps V_SOFTKEY to V_OFF which disables HP Softkeys.
On Exit:
AH
=
00 (Successful)
Registers Altered:
AX
154
Keyboa
rd
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers