home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / ibm / common / ibmKeybd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-16  |  1.6 KB  |  50 lines

  1. /*
  2.  * $XConsortium: ibmKeybd.h,v 1.2 91/07/16 13:07:26 jap Exp $
  3.  *
  4.  * Copyright IBM Corporation 1987,1988,1989,1990,1991
  5.  *
  6.  * All Rights Reserved
  7.  *
  8.  * License to use, copy, modify, and distribute this software and its
  9.  * documentation for any purpose and without fee is hereby granted,
  10.  * provided that the above copyright notice appear in all copies and that
  11.  * both that copyright notice and this permission notice appear in
  12.  * supporting documentation, and that the name of IBM not be
  13.  * used in advertising or publicity pertaining to distribution of the
  14.  * software without specific, written prior permission.
  15.  *
  16.  * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  17.  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS, AND 
  18.  * NONINFRINGEMENT OF THIRD PARTY RIGHTS, IN NO EVENT SHALL
  19.  * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20.  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21.  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23.  * SOFTWARE.
  24.  *
  25. */
  26.  
  27. #ifndef IBMKEYBD_H
  28. #define IBMKEYBD_H
  29.  
  30. #define    IBM_LED_NUMLOCK        1
  31. #define IBM_LED_CAPSLOCK    2
  32. #define IBM_LED_SCROLLOCK    4
  33.  
  34. extern    DevicePtr    ibmKeybd;
  35. extern    int         ibmUsePCKeys;
  36. extern    int        ibmBellPitch;
  37. extern    int        ibmBellDuration;
  38. extern    int        ibmLEDState;
  39. extern    int        ibmKeyClick;
  40. extern    int        ibmKeyRepeat;
  41. extern    int        ibmLockState;
  42. extern    int        ibmCurLockKey;
  43. extern    int        ibmLockEnabled;
  44.  
  45. /* defined in OS specific directories */
  46. extern    int        osKeybdProc();
  47. extern    KeySym        ibmmap[];
  48.  
  49. #endif /* IBMKBD_H */
  50.