Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

keysymbols.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           keysymbols.h  -  description
00003                              -------------------
00004     begin                : Sat Oct 14 2000
00005     copyright            : (C) 2000 by Martin Bickel
00006     email                : bickel@asc-hq.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef keysymbols_h_included
00019  #define keysymbols_h_included
00020 
00021 
00022    #include "../global.h"
00023    #include <SDL.h>
00024 
00025    #define ct_invvalue   -1
00026    #define ct_shp  2048
00027    #define ct_stp  512
00028    #define ct_altp  1024
00029 
00030    #define ct_space   SDLK_SPACE
00031    #define ct_bspace  SDLK_BACKSPACE
00032    #define ct_lshift  SDLK_LSHIFT
00033    #define ct_rshift  SDLK_RSHIFT
00034    #define ct_lstrg   SDLK_LCTRL
00035    #define ct_rstrg   SDLK_RCTRL
00036    #define ct_lalt    SDLK_LALT
00037    #define ct_ralt    SDLK_RALT
00038 
00039    #define ct_roll    SDLK_SCROLLOCK
00040    #define ct_pause   SDLK_PAUSE
00041    #define ct_druck   SDLK_PRINT
00042 
00043    #define ct_esc     SDLK_ESCAPE
00044    #define ct_tab     SDLK_TAB
00045 
00046    #define ct_shift_tab    (ct_tab | ct_shp)
00047 
00048    #define ct_capslck SDLK_CAPSLOCK
00049    #define ct_sb      SDLK_LESS
00050    #define ct_gitt    SDLK_HASH
00051    #define ct_enter   SDLK_RETURN
00052    #define ct_minus   SDLK_MINUS
00053    #define ct_plus    SDLK_PLUS
00054    #define ct_punkt   SDLK_PERIOD
00055    #define ct_point ct_punkt
00056    #define ct_komma   SDLK_COMMA
00057 
00058    #define ct_num     SDLK_NUMLOCK
00059    #define ct_divk    SDLK_KP_DIVIDE
00060    #define ct_malk    SDLK_KP_MULTIPLY
00061    #define ct_minusk  SDLK_KP_MINUS
00062    #define ct_plusk   SDLK_KP_PLUS
00063    #define ct_enterk  SDLK_KP_ENTER
00064    #define ct_entk    SDLK_KP_PERIOD
00065    #define ct_0k      SDLK_KP0
00066    #define ct_1k      SDLK_KP1
00067    #define ct_2k      SDLK_KP2
00068    #define ct_3k      SDLK_KP3
00069    #define ct_4k      SDLK_KP4
00070    #define ct_5k      SDLK_KP5
00071    #define ct_6k      SDLK_KP6
00072    #define ct_7k      SDLK_KP7
00073    #define ct_8k      SDLK_KP8
00074    #define ct_9k      SDLK_KP9
00075 
00076    #define ct_a  SDLK_a
00077    #define ct_b  SDLK_b
00078    #define ct_c  SDLK_c
00079    #define ct_d  SDLK_d
00080    #define ct_e  SDLK_e
00081    #define ct_f  SDLK_f
00082    #define ct_g  SDLK_g
00083    #define ct_h  SDLK_h
00084    #define ct_i  SDLK_i
00085    #define ct_j  SDLK_j
00086    #define ct_k  SDLK_k
00087    #define ct_l  SDLK_l
00088    #define ct_m  SDLK_m
00089    #define ct_n  SDLK_n
00090    #define ct_o  SDLK_o
00091    #define ct_p  SDLK_p
00092    #define ct_q  SDLK_q
00093    #define ct_r  SDLK_r
00094    #define ct_s  SDLK_s
00095    #define ct_t  SDLK_t
00096    #define ct_u  SDLK_u
00097    #define ct_v  SDLK_v
00098    #define ct_w  SDLK_w
00099    #define ct_x  SDLK_x
00100    #define ct_y  SDLK_y
00101    #define ct_z  SDLK_z
00102 //   #define ct_oe 39
00103 //   #define ct_ae 40
00104 //   #define ct_ue 26
00105 
00106    #define ct_circ  SDLK_CARET
00107    #define ct_0  SDLK_0
00108    #define ct_1  SDLK_1
00109    #define ct_2  SDLK_2
00110    #define ct_3  SDLK_3
00111    #define ct_4  SDLK_4
00112    #define ct_5  SDLK_5
00113    #define ct_6  SDLK_6
00114    #define ct_7  SDLK_7
00115    #define ct_8  SDLK_8
00116    #define ct_9  SDLK_9
00117 //   #define ct_ez  12
00118 //   #define ct_apos  13
00119 
00120    #define ct_left   SDLK_LEFT
00121    #define ct_right  SDLK_RIGHT
00122    #define ct_up     SDLK_UP
00123    #define ct_down   SDLK_DOWN
00124 
00125    #define ct_entf   SDLK_DELETE
00126    #define ct_einf   SDLK_INSERT
00127    #define ct_pos1   SDLK_HOME
00128    #define ct_ende   SDLK_END
00129    #define ct_pdown  SDLK_PAGEDOWN
00130    #define ct_pup    SDLK_PAGEUP
00131 
00132    #define ct_f1     SDLK_F1
00133    #define ct_f2     SDLK_F2
00134    #define ct_f3     SDLK_F3
00135    #define ct_f4     SDLK_F4
00136    #define ct_f5     SDLK_F5
00137    #define ct_f6     SDLK_F6
00138    #define ct_f7     SDLK_F7
00139    #define ct_f8     SDLK_F8
00140    #define ct_f9     SDLK_F9
00141    #define ct_f10    SDLK_F10
00142    #define ct_f11    SDLK_F11
00143    #define ct_f12    SDLK_F12
00144 
00145    #define cto_invvalue   -1
00146    #define cto_shp  2048
00147    #define cto_stp  512
00148    #define cto_altp  1024
00149 
00150    #define cto_space   SDLK_SPACE
00151    #define cto_bspace  SDLK_BACKSPACE
00152    #define cto_lshift  SDLK_LSHIFT
00153    #define cto_rshift  SDLK_RSHIFT
00154    #define cto_lstrg   SDLK_LCTRL
00155    #define cto_rstrg   SDLK_RCTRL
00156    #define cto_lalt    SDLK_LALT
00157    #define cto_ralt    SDLK_RALT
00158 
00159    #define cto_roll    SDLK_SCROLLOCK
00160    #define cto_pause   SDLK_PAUSE
00161    #define cto_druck   SDLK_PRINT
00162 
00163    #define cto_esc     SDLK_ESCAPE
00164    #define cto_tab     SDLK_TAB
00165 
00166    #define cto_shift_tab    (cto_tab | cto_shp)
00167 
00168    #define cto_capslck SDLK_CAPSLOCK
00169    #define cto_sb      SDLK_LESS
00170    #define cto_gitt    SDLK_HASH
00171    #define cto_enter   SDLK_RETURN
00172    #define cto_minus   SDLK_MINUS
00173    #define cto_plus    SDLK_PLUS
00174    #define cto_punkt   SDLK_PERIOD
00175    #define cto_point cto_punkt
00176    #define cto_komma   SDLK_COMMA
00177 
00178    #define cto_num     SDLK_NUMLOCK
00179    #define cto_divk    SDLK_KP_DIVIDE
00180    #define cto_malk    SDLK_KP_MULTIPLY
00181    #define cto_minusk  SDLK_KP_MINUS
00182    #define cto_plusk   SDLK_KP_PLUS
00183    #define cto_enterk  SDLK_KP_ENTER
00184    #define cto_entk    SDLK_KP_PERIOD
00185    #define cto_0k      SDLK_KP0
00186    #define cto_1k      SDLK_KP1
00187    #define cto_2k      SDLK_KP2
00188    #define cto_3k      SDLK_KP3
00189    #define cto_4k      SDLK_KP4
00190    #define cto_5k      SDLK_KP5
00191    #define cto_6k      SDLK_KP6
00192    #define cto_7k      SDLK_KP7
00193    #define cto_8k      SDLK_KP8
00194    #define cto_9k      SDLK_KP9
00195 
00196    #define cto_a  SDLK_a
00197    #define cto_b  SDLK_b
00198    #define cto_c  SDLK_c
00199    #define cto_d  SDLK_d
00200    #define cto_e  SDLK_e
00201    #define cto_f  SDLK_f
00202    #define cto_g  SDLK_g
00203    #define cto_h  SDLK_h
00204    #define cto_i  SDLK_i
00205    #define cto_j  SDLK_j
00206    #define cto_k  SDLK_k
00207    #define cto_l  SDLK_l
00208    #define cto_m  SDLK_m
00209    #define cto_n  SDLK_n
00210    #define cto_o  SDLK_o
00211    #define cto_p  SDLK_p
00212    #define cto_q  SDLK_q
00213    #define cto_r  SDLK_r
00214    #define cto_s  SDLK_s
00215    #define cto_t  SDLK_t
00216    #define cto_u  SDLK_u
00217    #define cto_v  SDLK_v
00218    #define cto_w  SDLK_w
00219    #define cto_x  SDLK_x
00220    #define cto_y  SDLK_y
00221    #define cto_z  SDLK_z
00222 //   #define cto_oe 39
00223 //   #define cto_ae 40
00224 //   #define cto_ue 26
00225 
00226    #define cto_circ  SDLK_CARET
00227    #define cto_0  SDLK_0
00228    #define cto_1  SDLK_1
00229    #define cto_2  SDLK_2
00230    #define cto_3  SDLK_3
00231    #define cto_4  SDLK_4
00232    #define cto_5  SDLK_5
00233    #define cto_6  SDLK_6
00234    #define cto_7  SDLK_7
00235    #define cto_8  SDLK_8
00236    #define cto_9  SDLK_9
00237 //   #define cto_ez  12
00238 //   #define cto_apos  13
00239 
00240    #define cto_left   SDLK_LEFT
00241    #define cto_right  SDLK_RIGHT
00242    #define cto_up     SDLK_UP
00243    #define cto_down   SDLK_DOWN
00244 
00245    #define cto_entf   SDLK_DELETE
00246    #define cto_einf   SDLK_INSERT
00247    #define cto_pos1   SDLK_HOME
00248    #define cto_ende   SDLK_END
00249    #define cto_pdown  SDLK_PAGEDOWN
00250    #define cto_pup    SDLK_PAGEUP
00251 
00252    #define cto_f1     SDLK_F1
00253    #define cto_f2     SDLK_F2
00254    #define cto_f3     SDLK_F3
00255    #define cto_f4     SDLK_F4
00256    #define cto_f5     SDLK_F5
00257    #define cto_f6     SDLK_F6
00258    #define cto_f7     SDLK_F7
00259    #define cto_f8     SDLK_F8
00260    #define cto_f9     SDLK_F9
00261    #define cto_f10    SDLK_F10
00262    #define cto_f11    SDLK_F11
00263    #define cto_f12    SDLK_F12
00264 
00265 #endif //keysymbols_h_included

Generated on Tue Jun 24 01:27:44 2008 for Advanced Strategic Command by  doxygen 1.4.2