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 |
|
---|
13 |
|
---|
14 | BYTE WIN32API KeyTranslatePMToWin(BYTE key);
|
---|
15 | void WIN32API KeyTranslatePMToWinBuf(BYTE *pmkey, BYTE *winkey, int nrkeys);
|
---|
16 | void WIN32API KeyTranslatePMScanToWinVKey(BYTE bPMScan,
|
---|
17 | BOOL bNumLock,
|
---|
18 | PBYTE pbWinVKey,
|
---|
19 | WORD* pwWinScan,
|
---|
20 | PBOOL pfExtended);
|
---|
21 | BYTE WIN32API KeyTranslateWinVKeyToPMScan(BYTE bWinVKey, BOOL fExtended);
|
---|
22 | BYTE WIN32API KeyTranslateWinScanToPMScan(BYTE bWinScan, BOOL fExtended);
|
---|
23 |
|
---|
24 | #define KEYOVERLAYSTATE_DONTCARE 0
|
---|
25 | #define KEYOVERLAYSTATE_DOWN 1
|
---|
26 | #define KEYOVERLAYSTATE_UP 2
|
---|
27 |
|
---|
28 | void WIN32API KeySetOverlayKeyState(int nVirtKey,
|
---|
29 | char nState);
|
---|
30 |
|
---|
31 |
|
---|
32 | #endif //__WINKEYBOARD_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.