home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / dec / ws / keynames.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-08  |  4.2 KB  |  146 lines

  1. /* $XConsortium: keynames.h,v 1.2 91/07/08 11:16:28 keith Exp $ */
  2. /***********************************************************
  3. Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts,
  4. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission 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 names of Digital or MIT not be
  13. used in advertising or publicity pertaining to distribution of the
  14. software without specific, written prior permission.  
  15.  
  16. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  17. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  18. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  19. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  21. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  22. SOFTWARE.
  23.  
  24. ******************************************************************/
  25. /* Keycodes for lk201 and lk401 keyboards used by code in ws_io.c 
  26.     that loads default keysym values from a file.
  27. */
  28.  
  29. #define MIN_LK201_KEY            86
  30. #define MAX_LK201_KEY           251
  31. #define LK201_GLYPHS_PER_KEY      2
  32.  
  33. /* the keys themselves */
  34.  
  35. #define KEY_F1             86
  36. #define KEY_F2             87
  37. #define KEY_F3             88
  38. #define KEY_F4             89
  39. #define KEY_F5             90
  40. #define KEY_F6            100
  41. #define KEY_F7            101
  42. #define KEY_F8            102
  43. #define KEY_F9            103
  44. #define KEY_F10            104
  45. #define KEY_F11            113
  46. #define KEY_F12            114
  47. #define KEY_F13            115
  48. #define KEY_F14            116
  49. #define KEY_HELP        124
  50. #define KEY_MENU        125
  51. #define KEY_F17            128
  52. #define KEY_F18            129
  53. #define KEY_F19            130
  54. #define KEY_F20            131
  55. #define KEY_FIND        138
  56. #define KEY_INSERT_HERE        139
  57. #define KEY_REMOVE        140
  58. #define KEY_SELECT        141
  59. #define KEY_PREV_SCREEN        142
  60. #define KEY_NEXT_SCREEN        143
  61. #define KEY_KP_0        146    /* key pad */
  62. #define KEY_KP_PERIOD        148    /* key pad */
  63. #define KEY_KP_ENTER        149    /* key pad */
  64. #define KEY_KP_1        150    /* key pad */
  65. #define KEY_KP_2        151    /* key pad */
  66. #define KEY_KP_3        152    /* key pad */
  67. #define KEY_KP_4        153    /* key pad */
  68. #define KEY_KP_5        154    /* key pad */
  69. #define KEY_KP_6        155    /* key pad */
  70. #define KEY_KP_COMMA        156    /* key pad */
  71. #define KEY_KP_7        157    /* key pad */
  72. #define KEY_KP_8        158    /* key pad */
  73. #define KEY_KP_9        159    /* key pad */
  74. #define KEY_KP_HYPHEN        160
  75. #define KEY_KP_PF1        161
  76. #define KEY_KP_PF2        162
  77. #define KEY_KP_PF3        163
  78. #define KEY_KP_PF4        164
  79. #define KEY_LEFT        167
  80. #define KEY_RIGHT        168
  81. #define KEY_DOWN        169
  82. #define KEY_UP            170
  83. #define KEY_SHIFT_R        171    /* LK401 */
  84. #define KEY_ALT_L        172    /* LK401 */
  85. #define KEY_COMPOSE_R        173    /* LK401 */
  86. #define KEY_SHIFT        174
  87. #define KEY_SHIFT_L        174
  88. #define KEY_CTRL        175
  89. #define KEY_LOCK        176
  90. #define KEY_COMPOSE        177
  91. #define KEY_APPLE        177
  92. #define KEY_META        177
  93. #define KEY_ALT_R        178    /* LK401 */
  94. #define KEY_DELETE        188
  95. #define KEY_RETURN        189
  96. #define KEY_TAB            190
  97. #define KEY_TILDE        191
  98. #define KEY_TR_1        192    /* Top Row */
  99. #define KEY_Q            193
  100. #define KEY_A            194
  101. #define KEY_Z            195
  102. #define KEY_TR_2        197
  103. #define KEY_W            198
  104. #define KEY_S            199
  105. #define KEY_X            200
  106. #define KEY_LANGLE_RANGLE    201    /* xxx */
  107. #define KEY_TR_3        203
  108. #define KEY_E            204
  109. #define KEY_D            205
  110. #define KEY_C            206
  111. #define KEY_TR_4        208
  112. #define KEY_R            209
  113. #define KEY_F            210
  114. #define KEY_V            211
  115. #define KEY_SPACE        212
  116. #define KEY_TR_5        214
  117. #define KEY_T            215
  118. #define KEY_G            216
  119. #define KEY_B            217
  120. #define KEY_TR_6        219
  121. #define KEY_Y            220
  122. #define KEY_H            221
  123. #define KEY_N            222
  124. #define KEY_TR_7        224
  125. #define KEY_U            225
  126. #define KEY_J            226
  127. #define KEY_M            227
  128. #define KEY_TR_8        229
  129. #define KEY_I            230
  130. #define KEY_K            231
  131. #define KEY_COMMA        232    /* xxx */
  132. #define KEY_TR_9        234
  133. #define KEY_O            235
  134. #define KEY_L            236
  135. #define KEY_PERIOD        237    /* xxx */
  136. #define KEY_TR_0        239
  137. #define KEY_P            240
  138. #define KEY_SEMICOLON        242    /* xxx */
  139. #define KEY_QMARK        243
  140. #define KEY_PLUS        245    /* xxx */
  141. #define KEY_RBRACE        246
  142. #define KEY_VBAR        247    /* xxx */
  143. #define KEY_UBAR        249    /* xxx */
  144. #define KEY_LBRACE        250
  145. #define KEY_QUOTE        251
  146.