4 * Copyright 1998 Patrik Stridvall
12 /***********************************************************************
13 * TTYDRV_KEYBOARD_Init
15 void TTYDRV_KEYBOARD_Init(void)
19 /***********************************************************************
20 * TTYDRV_KEYBOARD_VkKeyScan
22 WORD
TTYDRV_KEYBOARD_VkKeyScan(CHAR cChar
)
27 /***********************************************************************
28 * TTYDRV_KEYBOARD_MapVirtualKey
30 UINT16
TTYDRV_KEYBOARD_MapVirtualKey(UINT16 wCode
, UINT16 wMapType
)
35 /***********************************************************************
36 * TTYDRV_KEYBOARD_GetKeyNameText
38 INT16
TTYDRV_KEYBOARD_GetKeyNameText(
39 LONG lParam
, LPSTR lpBuffer
, INT16 nSize
)
48 /***********************************************************************
49 * TTYDRV_KEYBOARD_ToAscii
51 INT16
TTYDRV_KEYBOARD_ToAscii(
52 UINT16 virtKey
, UINT16 scanCode
,
53 LPBYTE lpKeyState
, LPVOID lpChar
, UINT16 flags
)
58 /***********************************************************************
59 * TTYDRV_KEYBOARD_GetBeepActive
61 BOOL
TTYDRV_KEYBOARD_GetBeepActive()
66 /***********************************************************************
67 * TTYDRV_KEYBOARD_SetBeepActive
69 void TTYDRV_KEYBOARD_SetBeepActive(BOOL bActivate
)
73 /***********************************************************************
74 * TTYDRV_KEYBOARD_Beep
76 void TTYDRV_KEYBOARD_Beep()
80 /***********************************************************************
81 * TTYDRV_KEYBOARD_GetDIState
83 BOOL
TTYDRV_KEYBOARD_GetDIState(DWORD len
, LPVOID ptr
)
88 /***********************************************************************
89 * TTYDRV_KEYBOARD_GetDIData
91 BOOL
TTYDRV_KEYBOARD_GetDIData(
93 DWORD dodsize
, LPDIDEVICEOBJECTDATA dod
,
94 LPDWORD entries
, DWORD flags
)
99 /***********************************************************************
100 * TTYDRV_KEYBOARD_GetKeyboardConfig
102 void TTYDRV_KEYBOARD_GetKeyboardConfig(KEYBOARD_CONFIG
*cfg
) {
106 /***********************************************************************
107 * TTYDRV_KEYBOARD_SetKeyboardConfig
109 extern void TTYDRV_KEYBOARD_SetKeyboardConfig(KEYBOARD_CONFIG
*cfg
, DWORD mask
) {