Jump to content

KBDHWID: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
Line 14: Line 14:
;idKbd:Keyboard hardware ID
;idKbd:Keyboard hardware ID
:OS/2 supported keyboards and their hardware-generated IDs are as follows:
:OS/2 supported keyboards and their hardware-generated IDs are as follows:
ID     Keyboard
::{|class=wikitable
0000H Undetermined keyboard type
!ID||Keyboard
0001H PC-AT Standard Keyboard
|-
AB41H 101 Key Enhanced Keyboard
|0000H||Undetermined keyboard type
AB41H 102 Key Enhanced Keyboard
|-
AB54H 88 and 89 Key Enhanced Keyboard
|0001H||PC-AT Standard Keyboard
AB85H 122 Key Enhanced Keyboard
|-
|AB41H||101 Key Enhanced Keyboard
|-
|AB41H||102 Key Enhanced Keyboard
|-
|AB54H||88 and 89 Key Enhanced Keyboard
|-
|AB85H||122 Key Enhanced Keyboard
|}
;idSecond:Secondary ID
;idSecond:Secondary ID


[[Category:Data type]]
[[Category:Data type]]

Revision as of 17:19, 11 December 2019

Keyboard hardware ID structure.

Type

USHORT  cb
USHORT  idKbd
USHORT  idSecond

C Declaration Method

typedef struct

Fields

cb
Size, in bytes, of this data structure.
On input, this field should contain the length of the Keyboard ID structure. The minimum input length value allowed is 2. On output, this field contains the actual number of bytes returned.
idKbd
Keyboard hardware ID
OS/2 supported keyboards and their hardware-generated IDs are as follows:
ID Keyboard
0000H Undetermined keyboard type
0001H PC-AT Standard Keyboard
AB41H 101 Key Enhanced Keyboard
AB41H 102 Key Enhanced Keyboard
AB54H 88 and 89 Key Enhanced Keyboard
AB85H 122 Key Enhanced Keyboard
idSecond
Secondary ID