Rev | Line | |
---|
[7314] | 1 | /* $Id: winkeyboard.h,v 1.3 2001-11-09 15:39:12 phaller Exp $ */
|
---|
[1631] | 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 |
|
---|
[21916] | 12 | #ifdef __cplusplus
|
---|
| 13 | extern "C" {
|
---|
| 14 | #endif
|
---|
[7314] | 15 |
|
---|
[21916] | 16 | void WIN32API KeyTranslatePMToWinBuf(PUCHAR pmkey, PUCHAR winkey, int nrkeys);
|
---|
| 17 | void WIN32API KeyTranslatePMScanToWinVKey(UCHAR uchPMScan,
|
---|
[7215] | 18 | BOOL bNumLock,
|
---|
[21916] | 19 | PUCHAR puchWinVKey,
|
---|
| 20 | WORD *pwWinScan,
|
---|
[7215] | 21 | PBOOL pfExtended);
|
---|
[21916] | 22 | UCHAR WIN32API KeyTranslateWinVKeyToPMScan(UCHAR uchWinVKey, BOOL fExtended);
|
---|
| 23 | UCHAR WIN32API KeyTranslateWinScanToPMScan(UCHAR uchWinScan, BOOL fExtended);
|
---|
[1631] | 24 |
|
---|
[7314] | 25 | #define KEYOVERLAYSTATE_DONTCARE 0
|
---|
| 26 | #define KEYOVERLAYSTATE_DOWN 1
|
---|
| 27 | #define KEYOVERLAYSTATE_UP 2
|
---|
[7215] | 28 |
|
---|
[7314] | 29 | void WIN32API KeySetOverlayKeyState(int nVirtKey,
|
---|
| 30 | char nState);
|
---|
| 31 |
|
---|
[21916] | 32 | #ifdef __cplusplus
|
---|
| 33 | } // extern "C"
|
---|
| 34 | #endif
|
---|
[7314] | 35 |
|
---|
[1631] | 36 | #endif //__WINKEYBOARD_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.