1706f2543Smrg/* 2706f2543Smrg 3706f2543SmrgCopyright 1993 by Davor Matic 4706f2543Smrg 5706f2543SmrgPermission to use, copy, modify, distribute, and sell this software 6706f2543Smrgand its documentation for any purpose is hereby granted without fee, 7706f2543Smrgprovided that the above copyright notice appear in all copies and that 8706f2543Smrgboth that copyright notice and this permission notice appear in 9706f2543Smrgsupporting documentation. Davor Matic makes no representations about 10706f2543Smrgthe suitability of this software for any purpose. It is provided "as 11706f2543Smrgis" without express or implied warranty. 12706f2543Smrg 13706f2543Smrg*/ 14706f2543Smrg 15706f2543Smrg#ifndef XNESTKEYBOARD_H 16706f2543Smrg#define XNESTKEYBOARD_H 17706f2543Smrg 18706f2543Smrg#define XNEST_KEYBOARD_EVENT_MASK \ 19706f2543Smrg (KeyPressMask | KeyReleaseMask | FocusChangeMask | KeymapStateMask) 20706f2543Smrg 21706f2543Smrgextern DeviceIntPtr xnestKeyboardDevice; 22706f2543Smrg 23706f2543Smrgvoid xnestBell(int volume, DeviceIntPtr pDev, pointer ctrl, int cls); 24706f2543Smrgvoid xnestChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl *ctrl); 25706f2543Smrgint xnestKeyboardProc(DeviceIntPtr pDev, int onoff); 26706f2543Smrgvoid xnestUpdateModifierState(unsigned int state); 27706f2543Smrg 28706f2543Smrg#endif /* XNESTKEYBOARD_H */ 29