Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | /* |
2 | ||
3 | Copyright 1993 by Davor Matic | |
4 | ||
5 | Permission to use, copy, modify, distribute, and sell this software | |
6 | and its documentation for any purpose is hereby granted without fee, | |
7 | provided that the above copyright notice appear in all copies and that | |
8 | both that copyright notice and this permission notice appear in | |
9 | supporting documentation. Davor Matic makes no representations about | |
10 | the suitability of this software for any purpose. It is provided "as | |
11 | is" without express or implied warranty. | |
12 | ||
13 | */ | |
14 | ||
15 | #ifndef XNESTKEYBOARD_H | |
16 | #define XNESTKEYBOARD_H | |
17 | ||
18 | #define XNEST_KEYBOARD_EVENT_MASK \ | |
19 | (KeyPressMask | KeyReleaseMask | FocusChangeMask | KeymapStateMask) | |
20 | ||
21 | extern DeviceIntPtr xnestKeyboardDevice; | |
22 | ||
23 | void xnestBell(int volume, DeviceIntPtr pDev, pointer ctrl, int cls); | |
24 | void xnestChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl * ctrl); | |
25 | int xnestKeyboardProc(DeviceIntPtr pDev, int onoff); | |
26 | void xnestUpdateModifierState(unsigned int state); | |
27 | ||
28 | #endif /* XNESTKEYBOARD_H */ |