home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / BSRC_250.LZH / KEYBD.H < prev    next >
C/C++ Source or Header  |  1991-09-15  |  8KB  |  222 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*           Keyboard Scan Code definitions used in BinkleyTerm             */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*    For complete  details  of the licensing restrictions, please refer    */
  17. /*    to the License  agreement,  which  is published in its entirety in    */
  18. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
  19. /*                                                                          */
  20. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  21. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  22. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  23. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  24. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  25. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  26. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  27. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  28. /*                                                                          */
  29. /*                                                                          */
  30. /* You can contact Bit Bucket Software Co. at any one of the following      */
  31. /* addresses:                                                               */
  32. /*                                                                          */
  33. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  34. /* P.O. Box 460398                AlterNet 7:491/0                          */
  35. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  36. /*                                Internet f491.n343.z1.fidonet.org         */
  37. /*                                                                          */
  38. /* Please feel free to contact us at any time to share your comments about  */
  39. /* our software and/or licensing policies.                                  */
  40. /*                                                                          */
  41. /*--------------------------------------------------------------------------*/
  42.  
  43. #ifndef MILQ_REMAP_KB
  44. #define ALT_SHIFT       0
  45. #define CTL_SHIFT       0
  46. #define SHIFT_SHIFT     0
  47.  
  48. #define ALTA  0x1e00
  49. #define ALTB  0x3000
  50. #define ALTC  0x2e00
  51. #define ALTD  0x2000
  52. #define ALTE  0x1200
  53. #define ALTF  0x2100
  54. #define ALTG  0x2200
  55. #define ALTH  0x2300
  56. #define ALTI  0x1700
  57. #define ALTJ  0x2400
  58. #define ALTK  0x2500
  59. #define ALTL  0x2600
  60. #define ALTM  0x3200
  61. #define ALTN  0x3100
  62. #define ALTO  0x1800
  63. #define ALTP  0x1900
  64. #define ALTQ  0x1000
  65. #define ALTR  0x1300
  66. #define ALTS  0x1f00
  67. #define ALTT  0x1400
  68. #define ALTU  0x1600
  69. #define ALTV  0x2f00
  70. #define ALTW  0x1100
  71. #define ALTX  0x2d00
  72. #define ALTY  0x1500
  73. #define ALTZ  0x2c00
  74.  
  75. #define CTRLC  0x2e03
  76.  
  77. #define ALT1  0x7800
  78. #define ALT2  0x7900
  79. #define ALT3  0x7a00
  80. #define ALT4  0x7b00
  81. #define ALT5  0x7c00
  82. #define ALT6  0x7d00
  83. #define ALT7  0x7e00
  84. #define ALT8  0x7f00
  85. #define ALT9  0x8000
  86. #define ALT0  0x8100
  87. #define ALTEQ 0x8300
  88.  
  89. #define PGUP  0x4900
  90. #define PGDN  0x5100
  91.  
  92. #define ALTF1 0x6800
  93. #define ALTF2 0x6900
  94. #define ALTF3 0x6a00
  95. #define ALTF4 0x6b00
  96. #define ALTF5 0x6c00
  97. #define ALTF6 0x6d00
  98. #define ALTF7 0x6e00
  99. #define ALTF8  0x6f00
  100. #define ALTF9 0x7000
  101. #define ALTF10  0x7100
  102.  
  103. #define PF1 0x3b00
  104. #define PF2 0x3c00
  105. #define PF3 0x3d00
  106. #define PF4 0x3e00
  107. #define PF5 0x3f00
  108. #define PF6 0x4000
  109. #define PF7 0x4100
  110. #define PF8 0x4200
  111. #define PF9 0x4300
  112. #define PF10  0x4400
  113.  
  114. #define UPAR  0x4800
  115. #define LFAR  0x4b00
  116. #define RTAR  0x4d00
  117. #define DNAR  0x5000
  118. #define HOME   0x4700
  119. #define END    0x4f00
  120.  
  121. #define SHF1  0x5400
  122. #define SHF2  0x5500
  123. #define SHF3  0x5600
  124. #define SHF4  0x5700
  125. #define SHF5  0x5800
  126. #define SHF6  0x5900
  127. #define SHF7  0x5a00
  128. #define SHF8  0x5b00
  129. #define SHF9  0x5c00
  130. #define SHF10 0x5d00
  131. #endif
  132.  
  133. #ifdef MILQ_REMAP_KB
  134. #define ALT             ALT_SHIFT
  135. #define CTL             CTL_SHIFT
  136. #define SHIFT           SHIFT_SHIFT
  137.  
  138. #define ALTA            VK_ALT_A
  139. #define ALTB            VK_ALT_B
  140. #define ALTC            VK_ALT_C
  141. #define ALTD            VK_ALT_D
  142. #define ALTE            VK_ALT_E
  143. #define ALTF            VK_ALT_F
  144. #define ALTG            VK_ALT_G
  145. #define ALTH            VK_ALT_H
  146. #define ALTI            VK_ALT_I
  147. #define ALTJ            VK_ALT_J
  148. #define ALTK            VK_ALT_K
  149. #define ALTL            VK_ALT_L
  150. #define ALTM            VK_ALT_M
  151. #define ALTN            VK_ALT_N
  152. #define ALTO            VK_ALT_O
  153. #define ALTP            VK_ALT_P
  154. #define ALTQ            VK_ALT_Q
  155. #define ALTR            VK_ALT_R
  156. #define ALTS            VK_ALT_S
  157. #define ALTT            VK_ALT_T
  158. #define ALTU            VK_ALT_U
  159. #define ALTV            VK_ALT_V
  160. #define ALTW            VK_ALT_W
  161. #define ALTX            VK_ALT_X
  162. #define ALTY            VK_ALT_Y
  163. #define ALTZ            VK_ALT_Z
  164.  
  165. #define CTRLC           VK_CTRL_C
  166.  
  167. #define ALT1            VK_ALT_1
  168. #define ALT2            VK_ALT_2
  169. #define ALT3            VK_ALT_3
  170. #define ALT4            VK_ALT_4
  171. #define ALT5            VK_ALT_5
  172. #define ALT6            VK_ALT_6
  173. #define ALT7            VK_ALT_7
  174. #define ALT8            VK_ALT_8
  175. #define ALT9            VK_ALT_9
  176. #define ALT0            VK_ALT_0
  177.  
  178. #define PGUP            VK_PGUP
  179. #define PGDN            VK_PGDN
  180.  
  181. #define ALTF1           VK_ALT_F1
  182. #define ALTF2           VK_ALT_F2
  183. #define ALTF3           VK_ALT_F3
  184. #define ALTF4           VK_ALT_F4
  185. #define ALTF5           VK_ALT_F5
  186. #define ALTF6           VK_ALT_F6
  187. #define ALTF7           VK_ALT_F7
  188. #define ALTF8           VK_ALT_F8
  189. #define ALTF9           VK_ALT_F9
  190. #define ALTF10          VK_ALT_F10
  191.  
  192. #define PF1             VK_F1
  193. #define PF2             VK_F2
  194. #define PF3             VK_F3
  195. #define PF4             VK_F4
  196. #define PF5             VK_F5
  197. #define PF6             VK_F6
  198. #define PF7             VK_F7
  199. #define PF8             VK_F8
  200. #define PF9             VK_F9
  201. #define PF10            VK_F10
  202.  
  203. #define UPAR            VK_UP
  204. #define LFAR            VK_LEFT
  205. #define RTAR            VK_RIGHT
  206. #define DNAR            VK_DOWN
  207. #define HOME            VK_HOME
  208. #define END             VK_END
  209.  
  210. #define SHF1            VK_SH_F1
  211. #define SHF2            VK_SH_F2
  212. #define SHF3            VK_SH_F3
  213. #define SHF4            VK_SH_F4
  214. #define SHF5            VK_SH_F5
  215. #define SHF6            VK_SH_F6
  216. #define SHF7            VK_SH_F7
  217. #define SHF8            VK_SH_F8
  218. #define SHF9            VK_SH_F9
  219. #define SHF10           VK_SH_F10
  220. #endif
  221.  
  222.