source: branches/gcc-kmk/include/winkeyboard.h@ 21811

Last change on this file since 21811 was 21811, checked in by dmik, 14 years ago

Port USER32.DLL (funal bunch).

File size: 1.1 KB
Line 
1/* $Id: winkeyboard.h,v 1.3 2001-11-09 15:39:12 phaller Exp $ */
2/*
3 * Win32 <-> PM key translation
4 *
5 *
6 * Project Odin Software License can be found in LICENSE.TXT
7 *
8 */
9#ifndef __WINKEYBOARD_H__
10#define __WINKEYBOARD_H__
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16BYTE WIN32API KeyTranslatePMToWin(BYTE key);
17void WIN32API KeyTranslatePMToWinBuf(BYTE *pmkey, BYTE *winkey, int nrkeys);
18void WIN32API KeyTranslatePMScanToWinVKey(BYTE bPMScan,
19 BOOL bNumLock,
20 PBYTE pbWinVKey,
21 WORD* pwWinScan,
22 PBOOL pfExtended);
23BYTE WIN32API KeyTranslateWinVKeyToPMScan(BYTE bWinVKey, BOOL fExtended);
24BYTE WIN32API KeyTranslateWinScanToPMScan(BYTE bWinScan, BOOL fExtended);
25
26#define KEYOVERLAYSTATE_DONTCARE 0
27#define KEYOVERLAYSTATE_DOWN 1
28#define KEYOVERLAYSTATE_UP 2
29
30void WIN32API KeySetOverlayKeyState(int nVirtKey,
31 char nState);
32
33#ifdef __cplusplus
34} // extern "C"
35#endif
36
37#endif //__WINKEYBOARD_H__
Note: See TracBrowser for help on using the repository browser.