wine/include/keyboard.h
David Faure a0815f3027 Added KEYBOARD_UpdateState, to read the modifiers when the wine app is
activated. Uses the new KEYBOARD_UpdateOneState.
Fixed a problem with menu accelerators (Alt-letter generates a down
arrow event which beeps if not filtered).
Speeded up ToAscii16/32() a little bit.
1998-10-11 12:35:38 +00:00

21 lines
484 B
C

/*
* Keyboard header file
* Copyright 1997 David Faure
*
*/
#ifndef __WINE_KEYBOARD_H
#define __WINE_KEYBOARD_H
extern BOOL32 MouseButtonsStates[3];
extern BOOL32 AsyncMouseButtonsStates[3];
extern BYTE InputKeyStateTable[256];
extern BYTE QueueKeyStateTable[256];
extern BYTE AsyncKeyStateTable[256];
extern BOOL32 KEYBOARD_Init(void);
extern void KEYBOARD_HandleEvent( WND *pWnd, XKeyEvent *event );
extern void KEYBOARD_UpdateState( void );
#endif /* __WINE_KEYBOARD_H */