window_keys.H

00001 /*
00002  * This file is part of the "Archon" framework.
00003  * (http://files3d.sourceforge.net)
00004  *
00005  * Copyright © 2002 by Kristian Spangsege and Brian Kristiansen.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and
00008  * its documentation under the terms of the GNU General Public License is
00009  * hereby granted. No representations are made about the suitability of
00010  * this software for any purpose. It is provided "as is" without express
00011  * or implied warranty. See the GNU General Public License
00012  * (http://www.gnu.org/copyleft/gpl.html) for more details.
00013  *
00014  * The characters in this file are ISO8859-1 encoded.
00015  *
00016  * The documentation in this file is in "Doxygen" style
00017  * (http://www.doxygen.org).
00018  */
00019 
00020 #ifndef ARCHON_UTILITIES_KEYS_H
00021 #define ARCHON_UTILITIES_KEYS_H
00022 
00023 namespace Archon
00024 {
00025   namespace Utilities
00026   {
00027     enum Key
00028     {
00029       key_first,
00030       key_backspace,
00031       key_tab,
00032       key_clear,
00033       key_return,
00034       key_pause,
00035       key_escape,
00036       key_space,
00037       key_exclaim,
00038       key_quotedbl,
00039       key_hash,
00040       key_dollar,
00041       key_ampersand,
00042       key_quote,
00043       key_leftparen,
00044       key_rightparen,
00045       key_asterisk,
00046       key_plus,
00047       key_comma,
00048       key_minus,
00049       key_period,
00050       key_slash,
00051       key_0,
00052       key_1,
00053       key_2,
00054       key_3,
00055       key_4,
00056       key_5,
00057       key_6,
00058       key_7,
00059       key_8,
00060       key_9,
00061       key_colon,
00062       key_semicolon,
00063       key_less,
00064       key_equals,
00065       key_greater,
00066       key_question,
00067       key_at,
00068       key_leftbracket,
00069       key_backslash,
00070       key_rightbracket,
00071       key_caret,
00072       key_underscore,
00073       key_backquote,
00074       key_a,
00075       key_b,
00076       key_c,
00077       key_d,
00078       key_e,
00079       key_f,
00080       key_g,
00081       key_h,
00082       key_i,
00083       key_j,
00084       key_k,
00085       key_l,
00086       key_m,
00087       key_n,
00088       key_o,
00089       key_p,
00090       key_q,
00091       key_r,
00092       key_s,
00093       key_t,
00094       key_u,
00095       key_v,
00096       key_w,
00097       key_x,
00098       key_y,
00099       key_z,
00100       key_delete,
00101 
00102       /* International keyboard syms */
00103       key_world_0,
00104       key_world_1,
00105       key_world_2,
00106       key_world_3,
00107       key_world_4,
00108       key_world_5,
00109       key_world_6,
00110       key_world_7,
00111       key_world_8,
00112       key_world_9,
00113       key_world_10,
00114       key_world_11,
00115       key_world_12,
00116       key_world_13,
00117       key_world_14,
00118       key_world_15,
00119       key_world_16,
00120       key_world_17,
00121       key_world_18,
00122       key_world_19,
00123       key_world_20,
00124       key_world_21,
00125       key_world_22,
00126       key_world_23,
00127       key_world_24,
00128       key_world_25,
00129       key_world_26,
00130       key_world_27,
00131       key_world_28,
00132       key_world_29,
00133       key_world_30,
00134       key_world_31,
00135       key_world_32,
00136       key_world_33,
00137       key_world_34,
00138       key_world_35,
00139       key_world_36,
00140       key_world_37,
00141       key_world_38,
00142       key_world_39,
00143       key_world_40,
00144       key_world_41,
00145       key_world_42,
00146       key_world_43,
00147       key_world_44,
00148       key_world_45,
00149       key_world_46,
00150       key_world_47,
00151       key_world_48,
00152       key_world_49,
00153       key_world_50,
00154       key_world_51,
00155       key_world_52,
00156       key_world_53,
00157       key_world_54,
00158       key_world_55,
00159       key_world_56,
00160       key_world_57,
00161       key_world_58,
00162       key_world_59,
00163       key_world_60,
00164       key_world_61,
00165       key_world_62,
00166       key_world_63,
00167       key_world_64,
00168       key_world_65,
00169       key_world_66,
00170       key_world_67,
00171       key_world_68,
00172       key_world_69,
00173       key_world_70,
00174       key_world_71,
00175       key_world_72,
00176       key_world_73,
00177       key_world_74,
00178       key_world_75,
00179       key_world_76,
00180       key_world_77,
00181       key_world_78,
00182       key_world_79,
00183       key_world_80,
00184       key_world_81,
00185       key_world_82,
00186       key_world_83,
00187       key_world_84,
00188       key_world_85,
00189       key_world_86,
00190       key_world_87,
00191       key_world_88,
00192       key_world_89,
00193       key_world_90,
00194       key_world_91,
00195       key_world_92,
00196       key_world_93,
00197       key_world_94,
00198       key_world_95,
00199 
00200       /* Numeric keypad */
00201       key_kp0,
00202       key_kp1,
00203       key_kp2,
00204       key_kp3,
00205       key_kp4,
00206       key_kp5,
00207       key_kp6,
00208       key_kp7,
00209       key_kp8,
00210       key_kp9,
00211       key_kp_period,
00212       key_kp_divide,
00213       key_kp_multiply,
00214       key_kp_minus,
00215       key_kp_plus,
00216       key_kp_enter,
00217       key_kp_equals,
00218 
00219       /* Arrows + Home/End pad */
00220       key_up,
00221       key_down,
00222       key_right,
00223       key_left,
00224       key_insert,
00225       key_home,
00226       key_end,
00227       key_pageup,
00228       key_pagedown,
00229 
00230       /* Function keys */
00231       key_f1,
00232       key_f2,
00233       key_f3,
00234       key_f4,
00235       key_f5,
00236       key_f6,
00237       key_f7,
00238       key_f8,
00239       key_f9,
00240       key_f10,
00241       key_f11,
00242       key_f12,
00243       key_f13,
00244       key_f14,
00245       key_f15,
00246 
00247       /* Key state modifier keys */
00248       key_numlock,
00249       key_capslock,
00250       key_scrollock,
00251       key_rshift,
00252       key_lshift,
00253       key_rctrl,
00254       key_lctrl,
00255       key_ralt,
00256       key_lalt,
00257       key_rmeta,
00258       key_lmeta,
00259       key_lsuper,       /* Left "Windows" key */
00260       key_rsuper,       /* Right "Windows" key */
00261       key_mode,         /* "Alt Gr" key */
00262       key_compose,      /* Multi-key compose key */
00263 
00264       /* Miscellaneous function keys */
00265       key_help,
00266       key_print,
00267       key_sysreq,
00268       key_break,
00269       key_menu,
00270       key_power,        /* Power Macintosh power key */
00271       key_euro,         /* Some european keyboards */
00272 
00273       _key_last         /* Phony entry; don't use this one */
00274     };
00275   }
00276 }
00277 
00278 #endif // ARCHON_UTILITIES_KEYS_H
00279 

Generated on Sun Jul 30 22:55:46 2006 for Archon by  doxygen 1.4.4