source: trunk/include/winkeyboard.h@ 21916

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

Merge branch gcc-kmk to trunk.

File size: 1.1 KB
RevLine 
[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
13extern "C" {
14#endif
[7314]15
[21916]16void WIN32API KeyTranslatePMToWinBuf(PUCHAR pmkey, PUCHAR winkey, int nrkeys);
17void WIN32API KeyTranslatePMScanToWinVKey(UCHAR uchPMScan,
[7215]18 BOOL bNumLock,
[21916]19 PUCHAR puchWinVKey,
20 WORD *pwWinScan,
[7215]21 PBOOL pfExtended);
[21916]22UCHAR WIN32API KeyTranslateWinVKeyToPMScan(UCHAR uchWinVKey, BOOL fExtended);
23UCHAR 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]29void 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.