PageRenderTime 63ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/inc/gkeysym.h

https://bitbucket.org/preining/tex-live
C Header | 298 lines | 235 code | 19 blank | 44 comment | 0 complexity | e5b585ea12db2508f3a04acf3ddeffdf MD5 | raw file
  1. #ifndef _GKEYSYM_H_
  2. #define _GKEYSYM_H_
  3. #ifndef X_DISPLAY_MISSING
  4. #include <X11/keysym.h>
  5. /* Based on the X keysymdef file */
  6. /***********************************************************
  7. Copyright 1987, 1994, 1998 The Open Group
  8. All Rights Reserved.
  9. The above copyright notice and this permission notice shall be included
  10. in all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  12. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  13. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  14. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  15. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  16. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  17. OTHER DEALINGS IN THE SOFTWARE.
  18. Except as contained in this notice, the name of The Open Group shall
  19. not be used in advertising or otherwise to promote the sale, use or
  20. other dealings in this Software without prior written authorization
  21. from The Open Group.
  22. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts
  23. All Rights Reserved
  24. Permission to use, copy, modify, and distribute this software and its
  25. documentation for any purpose and without fee is hereby granted,
  26. provided that the above copyright notice appear in all copies and that
  27. both that copyright notice and this permission notice appear in
  28. supporting documentation, and that the name of Digital not be
  29. used in advertising or publicity pertaining to distribution of the
  30. software without specific, written prior permission.
  31. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  32. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  33. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  34. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  35. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  36. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  37. SOFTWARE.
  38. ******************************************************************/
  39. #define GK_Special 0xfe00 /* keysyms above this value aren't unicode */
  40. #define GK_TypeAhead 0x0000 /* no single keysym, unicode value in event string */
  41. #define GK_BackSpace XK_BackSpace
  42. #define GK_Tab XK_Tab
  43. #ifndef XK_ISO_Left_Tab
  44. # define GK_BackTab XK_Tab
  45. #else
  46. # define GK_BackTab XK_ISO_Left_Tab
  47. #endif
  48. #define GK_Linefeed XK_Linefeed
  49. #define GK_Clear XK_Clear
  50. #define GK_Return XK_Return
  51. #define GK_Pause XK_Pause
  52. #define GK_Scroll_Lock XK_Scroll_Lock
  53. #define GK_Sys_Req XK_Sys_Req
  54. #define GK_Escape XK_Escape
  55. #define GK_Delete XK_Delete
  56. #define GK_Home XK_Home
  57. #define GK_Left XK_Left
  58. #define GK_Up XK_Up
  59. #define GK_Right XK_Right
  60. #define GK_Down XK_Down
  61. #define GK_Prior XK_Prior
  62. #define GK_Page_Up XK_Page_Up
  63. #define GK_Next XK_Next
  64. #define GK_Page_Down XK_Page_Down
  65. #define GK_End XK_End
  66. #define GK_Begin XK_Begin
  67. #define GK_Menu XK_Menu
  68. #define GK_Help XK_Help
  69. #define GK_KP_Enter XK_KP_Enter
  70. #define GK_KP_Home XK_KP_Home
  71. #define GK_KP_Left XK_KP_Left
  72. #define GK_KP_Up XK_KP_Up
  73. #define GK_KP_Right XK_KP_Right
  74. #define GK_KP_Down XK_KP_Down
  75. #define GK_KP_Prior XK_KP_Prior
  76. #define GK_KP_Page_Up XK_KP_Page_Up
  77. #define GK_KP_Next XK_KP_Next
  78. #define GK_KP_Page_Down XK_KP_Page_Down
  79. #define GK_KP_End XK_KP_End
  80. #define GK_KP_Begin XK_KP_Begin
  81. #define GK_F1 XK_F1
  82. #define GK_F2 XK_F2
  83. #define GK_F3 XK_F3
  84. #define GK_F4 XK_F4
  85. #define GK_F5 XK_F5
  86. #define GK_F6 XK_F6
  87. #define GK_F7 XK_F7
  88. #define GK_F8 XK_F8
  89. #define GK_F9 XK_F9
  90. #define GK_F10 XK_F10
  91. #define GK_F11 XK_F11
  92. #define GK_L1 XK_L1
  93. #define GK_F12 XK_F12
  94. #define GK_L2 XK_L2
  95. #define GK_F13 XK_F13
  96. #define GK_L3 XK_L3
  97. #define GK_F14 XK_F14
  98. #define GK_L4 XK_L4
  99. #define GK_F15 XK_F15
  100. #define GK_L5 XK_L5
  101. #define GK_F16 XK_F16
  102. #define GK_L6 XK_L6
  103. #define GK_F17 XK_F17
  104. #define GK_L7 XK_L7
  105. #define GK_F18 XK_F18
  106. #define GK_L8 XK_L8
  107. #define GK_F19 XK_F19
  108. #define GK_L9 XK_L9
  109. #define GK_F20 XK_F20
  110. #define GK_L10 XK_L10
  111. #define GK_F21 XK_F21
  112. #define GK_R1 XK_R1
  113. #define GK_F22 XK_F22
  114. #define GK_R2 XK_R2
  115. #define GK_F23 XK_F23
  116. #define GK_R3 XK_R3
  117. #define GK_F24 XK_F24
  118. #define GK_R4 XK_R4
  119. #define GK_F25 XK_F25
  120. #define GK_R5 XK_R5
  121. #define GK_F26 XK_F26
  122. #define GK_R6 XK_R6
  123. #define GK_F27 XK_F27
  124. #define GK_R7 XK_R7
  125. #define GK_F28 XK_F28
  126. #define GK_R8 XK_R8
  127. #define GK_F29 XK_F29
  128. #define GK_R9 XK_R9
  129. #define GK_F30 XK_F30
  130. #define GK_R10 XK_R10
  131. #define GK_F31 XK_F31
  132. #define GK_R11 XK_R11
  133. #define GK_F32 XK_F32
  134. #define GK_R12 XK_R12
  135. #define GK_F33 XK_F33
  136. #define GK_R13 XK_R13
  137. #define GK_F34 XK_F34
  138. #define GK_R14 XK_R14
  139. #define GK_F35 XK_F35
  140. #define GK_R15 XK_R15
  141. #define GK_Shift_L XK_Shift_L
  142. #define GK_Shift_R XK_Shift_R
  143. #define GK_Control_L XK_Control_L
  144. #define GK_Control_R XK_Control_R
  145. #define GK_Caps_Lock XK_Caps_Lock
  146. #define GK_Shift_Lock XK_Shift_Lock
  147. #define GK_Meta_L XK_Meta_L
  148. #define GK_Meta_R XK_Meta_R
  149. #define GK_Alt_L XK_Alt_L
  150. #define GK_Alt_R XK_Alt_R
  151. #define GK_Super_L XK_Super_L
  152. #define GK_Super_R XK_Super_R
  153. #define GK_Hyper_L XK_Hyper_L
  154. #define GK_Hyper_R XK_Hyper_R
  155. #else /* No X */
  156. #define GK_Special 0xfe00 /* keysyms above this value aren't unicode */
  157. #define GK_TypeAhead 0x0000 /* no single keysym, unicode value in event string */
  158. #define GK_BackSpace 0xff01
  159. #define GK_Tab 0xff02
  160. #define GK_BackTab 0xff03
  161. #define GK_Linefeed 0xff04
  162. #define GK_Clear 0xff05
  163. #define GK_Return 0xff06
  164. #define GK_Pause 0xff07
  165. #define GK_Scroll_Lock 0xff08
  166. #define GK_Sys_Req 0xff09
  167. #define GK_Escape 0xff0a
  168. #define GK_Delete 0xff0b
  169. #define GK_Home 0xff0c
  170. #define GK_Left 0xff0d
  171. #define GK_Up 0xff0e
  172. #define GK_Right 0xff0f
  173. #define GK_Down 0xff10
  174. #define GK_Prior 0xff11
  175. #define GK_Page_Up 0xff12
  176. #define GK_Next 0xff13
  177. #define GK_Page_Down 0xff14
  178. #define GK_End 0xff15
  179. #define GK_Begin 0xff16
  180. #define GK_Menu 0xff17
  181. #define GK_Help 0xff18
  182. #define GK_KP_Enter 0xFF8D
  183. #define GK_KP_Home 0xff19
  184. #define GK_KP_Left 0xff1a
  185. #define GK_KP_Up 0xff1b
  186. #define GK_KP_Right 0xff1c
  187. #define GK_KP_Down 0xff1d
  188. #define GK_KP_Prior 0xff1e
  189. #define GK_KP_Page_Up 0xff1f
  190. #define GK_KP_Next 0xff20
  191. #define GK_KP_Page_Down 0xff21
  192. #define GK_KP_End 0xff22
  193. #define GK_KP_Begin 0xff23
  194. #define GK_F1 0
  195. #define GK_F2 0
  196. #define GK_F3 0
  197. #define GK_F4 0
  198. #define GK_F5 0
  199. #define GK_F6 0
  200. #define GK_F7 0
  201. #define GK_F8 0
  202. #define GK_F9 0
  203. #define GK_F10 0
  204. #define GK_F11 0
  205. #define GK_L1 0
  206. #define GK_F12 0
  207. #define GK_L2 0
  208. #define GK_F13 0
  209. #define GK_L3 0
  210. #define GK_F14 0
  211. #define GK_L4 0
  212. #define GK_F15 0
  213. #define GK_L5 0
  214. #define GK_F16 0
  215. #define GK_L6 0
  216. #define GK_F17 0
  217. #define GK_L7 0
  218. #define GK_F18 0
  219. #define GK_L8 0
  220. #define GK_F19 0
  221. #define GK_L9 0
  222. #define GK_F20 0
  223. #define GK_L10 0
  224. #define GK_F21 0
  225. #define GK_R1 0
  226. #define GK_F22 0
  227. #define GK_R2 0
  228. #define GK_F23 0
  229. #define GK_R3 0
  230. #define GK_F24 0
  231. #define GK_R4 0
  232. #define GK_F25 0
  233. #define GK_R5 0
  234. #define GK_F26 0
  235. #define GK_R6 0
  236. #define GK_F27 0
  237. #define GK_R7 0
  238. #define GK_F28 0
  239. #define GK_R8 0
  240. #define GK_F29 0
  241. #define GK_R9 0
  242. #define GK_F30 0
  243. #define GK_R10 0
  244. #define GK_F31 0
  245. #define GK_R11 0
  246. #define GK_F32 0
  247. #define GK_R12 0
  248. #define GK_F33 0
  249. #define GK_R13 0
  250. #define GK_F34 0
  251. #define GK_R14 0
  252. #define GK_F35 0
  253. #define GK_R15 0
  254. #define GK_Shift_L 0
  255. #define GK_Shift_R 0
  256. #define GK_Control_L 0
  257. #define GK_Control_R 0
  258. #define GK_Caps_Lock 0
  259. #define GK_Shift_Lock 0
  260. #define GK_Meta_L 0
  261. #define GK_Meta_R 0
  262. #define GK_Alt_L 0
  263. #define GK_Alt_R 0
  264. #define GK_Super_L 0
  265. #define GK_Super_R 0
  266. #define GK_Hyper_L 0
  267. #define GK_Hyper_R 0
  268. #endif /* No X */
  269. #endif