2 * KEYBOARD driver interface
4 * Copyright 1998 Ulrich Weigand
7 #ifndef __WINE_KEYBOARD_H
8 #define __WINE_KEYBOARD_H
11 typedef struct _KBINFO
13 BYTE Begin_First_Range;
15 BYTE Begin_Second_Range;
16 BYTE End_Second_Range;
21 typedef VOID (CALLBACK *LPKEYBD_EVENT_PROC)(BYTE,BYTE,DWORD,DWORD);
23 WORD WINAPI KEYBOARD_Inquire(LPKBINFO kbInfo);
24 VOID WINAPI KEYBOARD_Enable(LPKEYBD_EVENT_PROC lpKeybEventProc,
26 VOID WINAPI KEYBOARD_Disable(VOID);
30 extern void KEYBOARD_HandleEvent( WND *pWnd, XKeyEvent *event );
31 extern void KEYBOARD_UpdateState( void );
33 #define WINE_KEYBDEVENT_MAGIC ( ('K'<<24)|('E'<<16)|('Y'<<8)|'B' )
34 typedef struct _WINE_KEYBDEVENT
43 #endif /* __WINE_KEYBOARD_H */