source: trunk/include/winkeyboard.h@ 7314

Last change on this file since 7314 was 7314, checked in by phaller, 24 years ago

.

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