Applications that do not wish to overlay existing translators, may install entirely new translators
instead and map themselves into the HP Softkey and CCP translator chains as the parent drivers
of the V_SOFTKEY and V_CCP services respectively. This method only works for the HP
proprietary keypads.
5.3.4.1
V_SOFTKEY
(BP = 003CH)
This translator service verifies the Data Type is T_KC_HP_SOFTKEY and then passes the ISR
Event Record to its parent. By default this translator is mapped to the V_SKEY2FKEY service,
alternative mappings are presented in table 5.14.
Table 5.14
V_SOFTKEY Driver Mapping Alternatives
Driver Name
V_OFF
V_RAW
V_SKEY2FKEY
Function
Discards the ISR event.
Returns the scancode untranslated.
Translates the HP Softkeys into their respective industry standard
function key equivalents.
F_ISR
(AH
=
OOH)
This function verifies the passed in Data Type and passes the ISR event on to its parent.
On Entry:
AH
=
F_ISR (OOH)
BH
=
Keyboard state (only if state bit set in type)
BL
=
Scancode
DH
=
Scancode type (T_KC_HP_SOFTKEY
=
OBH)
DL
=
Source vector address / 6
BP
=
V_SOFTKEY (003CH)
On Exit:
AH
=
Return Status Code
BL
=
Translated scancode
BH
=
New keyboard state (only if state bit set in type)
DH
=
New scancode type (T_KC_IBM_PC
=
OAH)
Registers Altered:
AX, BX, DH, BP, DS
Keyboard
163
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers