INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

asciichar.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This copy of Orca is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 
00011 #ifndef ORCA2_ASCII_CHARACTERS_H
00012 #define ORCA2_ASCII_CHARACTERS_H
00013 
00014 // numerals
00015 #define KEYCODE_0 0x30
00016 #define KEYCODE_1 0x31
00017 #define KEYCODE_2 0x32
00018 #define KEYCODE_3 0x33
00019 #define KEYCODE_4 0x34
00020 #define KEYCODE_5 0x35
00021 #define KEYCODE_6 0x36
00022 #define KEYCODE_7 0x37
00023 #define KEYCODE_8 0x38
00024 #define KEYCODE_9 0x39
00025 // lower CASE
00026 #define KEYCODE_a 0x61
00027 #define KEYCODE_b 0x62
00028 #define KEYCODE_c 0x63
00029 #define KEYCODE_d 0x64
00030 #define KEYCODE_e 0x65
00031 #define KEYCODE_f 0x66
00032 #define KEYCODE_g 0x67
00033 #define KEYCODE_h 0x68
00034 #define KEYCODE_i 0x69
00035 #define KEYCODE_j 0x6a
00036 #define KEYCODE_k 0x6b
00037 #define KEYCODE_l 0x6c
00038 #define KEYCODE_m 0x6d
00039 #define KEYCODE_n 0x6e
00040 #define KEYCODE_o 0x6f
00041 #define KEYCODE_p 0x70
00042 #define KEYCODE_q 0x71
00043 #define KEYCODE_r 0x72
00044 #define KEYCODE_s 0x73
00045 #define KEYCODE_t 0x74
00046 #define KEYCODE_u 0x75
00047 #define KEYCODE_v 0x76
00048 #define KEYCODE_w 0x77
00049 #define KEYCODE_x 0x78
00050 #define KEYCODE_y 0x79
00051 #define KEYCODE_z 0x7a
00052 // UPPER CASE
00053 #define KEYCODE_A 0x41
00054 #define KEYCODE_B 0x42
00055 #define KEYCODE_C 0x43
00056 #define KEYCODE_D 0x44
00057 #define KEYCODE_E 0x45
00058 #define KEYCODE_F 0x46
00059 #define KEYCODE_G 0x47
00060 #define KEYCODE_H 0x48
00061 #define KEYCODE_I 0x49
00062 #define KEYCODE_J 0x4a
00063 #define KEYCODE_K 0x4b
00064 #define KEYCODE_L 0x4c
00065 #define KEYCODE_M 0x4d
00066 #define KEYCODE_N 0x4e
00067 #define KEYCODE_O 0x4f
00068 #define KEYCODE_P 0x50
00069 #define KEYCODE_Q 0x51
00070 #define KEYCODE_R 0x52
00071 #define KEYCODE_S 0x53
00072 #define KEYCODE_T 0x54
00073 #define KEYCODE_U 0x55
00074 #define KEYCODE_V 0x56
00075 #define KEYCODE_W 0x57
00076 #define KEYCODE_X 0x58
00077 #define KEYCODE_Y 0x59
00078 #define KEYCODE_Z 0x5a
00079 // other
00080 #define KEYCODE_ESCAPE  0x1B
00081 
00082 /*
00083 enum EKEY_CODE
00084 {
00085 KEY_LBUTTON          = 0x01,  // Left mouse button
00086 KEY_RBUTTON          = 0x02,  // Right mouse button
00087 KEY_CANCEL           = 0x03,  // Control-break processing
00088 KEY_MBUTTON          = 0x04,  // Middle mouse button (three-button mouse)
00089 KEY_XBUTTON1         = 0x05,  // Windows 2000/XP: X1 mouse button
00090 KEY_XBUTTON2         = 0x06,  // Windows 2000/XP: X2 mouse button
00091 KEY_BACK             = 0x08,  // BACKSPACE key
00092 KEY_TAB              = 0x09,  // TAB key
00093 KEY_CLEAR            = 0x0C,  // CLEAR key
00094 KEY_RETURN           = 0x0D,  // ENTER key
00095 KEY_SHIFT            = 0x10,  // SHIFT key
00096 KEY_CONTROL          = 0x11,  // CTRL key
00097 KEY_MENU             = 0x12,  // ALT key
00098 KEY_PAUSE            = 0x13,  // PAUSE key
00099 KEY_CAPITAL          = 0x14,  // CAPS LOCK key
00100 KEY_KANA             = 0x15,  // IME Kana mode
00101 KEY_HANGUEL          = 0x15,  // IME Hanguel mode (maintained for compatibility use KEY_HANGUL)
00102 KEY_HANGUL           = 0x15,  // IME Hangul mode
00103 KEY_JUNJA            = 0x17,  // IME Junja mode
00104 KEY_FINAL            = 0x18,  // IME final mode
00105 KEY_HANJA            = 0x19,  // IME Hanja mode
00106 KEY_KANJI            = 0x19,  // IME Kanji mode
00107 KEY_ESCAPE           = 0x1B,  // ESC key
00108 KEY_CONVERT          = 0x1C,  // IME convert
00109 KEY_NONCONVERT       = 0x1D,  // IME nonconvert
00110 KEY_ACCEPT           = 0x1E,  // IME accept
00111 KEY_MODECHANGE       = 0x1F,  // IME mode change request
00112 KEY_SPACE            = 0x20,  // SPACEBAR
00113 KEY_PRIOR            = 0x21,  // PAGE UP key
00114 KEY_NEXT             = 0x22,  // PAGE DOWN key
00115 KEY_END              = 0x23,  // END key
00116 KEY_HOME             = 0x24,  // HOME key
00117 KEY_LEFT             = 0x25,  // LEFT ARROW key
00118 KEY_UP               = 0x26,  // UP ARROW key
00119 KEY_RIGHT            = 0x27,  // RIGHT ARROW key
00120 KEY_DOWN             = 0x28,  // DOWN ARROW key
00121 KEY_SELECT           = 0x29,  // SELECT key
00122 KEY_PRINT            = 0x2A,  // PRINT key
00123 KEY_EXECUT           = 0x2B,  // EXECUTE key
00124 KEY_SNAPSHOT         = 0x2C,  // PRINT SCREEN key
00125 KEY_INSERT           = 0x2D,  // INS key
00126 KEY_DELETE           = 0x2E,  // DEL key
00127 KEY_HELP             = 0x2F,  // HELP key
00128 KEY_KEY_0            = 0x30,  // 0 key
00129 KEY_KEY_1            = 0x31,  // 1 key
00130 KEY_KEY_2            = 0x32,  // 2 key
00131 KEY_KEY_3            = 0x33,  // 3 key
00132 KEY_KEY_4            = 0x34,  // 4 key
00133 KEY_KEY_5            = 0x35,  // 5 key
00134 KEY_KEY_6            = 0x36,  // 6 key
00135 KEY_KEY_7            = 0x37,  // 7 key
00136 KEY_KEY_8            = 0x38,  // 8 key
00137 KEY_KEY_9            = 0x39,  // 9 key
00138 KEY_KEY_A            = 0x41,  // A key
00139 KEY_KEY_B            = 0x42,  // B key
00140 KEY_KEY_C            = 0x43,  // C key
00141 KEY_KEY_D            = 0x44,  // D key
00142 KEY_KEY_E            = 0x45,  // E key
00143 KEY_KEY_F            = 0x46,  // F key
00144 00072                 KEY_KEY_G            = 0x47,  // G key
00145 00073                 KEY_KEY_H            = 0x48,  // H key
00146 00074                 KEY_KEY_I            = 0x49,  // I key
00147 00075                 KEY_KEY_J            = 0x4A,  // J key
00148 00076                 KEY_KEY_K            = 0x4B,  // K key
00149 00077                 KEY_KEY_L            = 0x4C,  // L key
00150 00078                 KEY_KEY_M            = 0x4D,  // M key
00151 00079                 KEY_KEY_N            = 0x4E,  // N key
00152 00080                 KEY_KEY_O            = 0x4F,  // O key
00153 00081                 KEY_KEY_P            = 0x50,  // P key
00154 00082                 KEY_KEY_Q            = 0x51,  // Q key
00155 00083                 KEY_KEY_R            = 0x52,  // R key
00156 00084                 KEY_KEY_S            = 0x53,  // S key
00157 00085                 KEY_KEY_T            = 0x54,  // T key
00158 00086                 KEY_KEY_U            = 0x55,  // U key
00159 00087                 KEY_KEY_V            = 0x56,  // V key
00160 00088                 KEY_KEY_W            = 0x57,  // W key
00161 00089                 KEY_KEY_X            = 0x58,  // X key
00162 00090                 KEY_KEY_Y            = 0x59,  // Y key
00163 00091                 KEY_KEY_Z            = 0x5A,  // Z key
00164 00092                 KEY_LWIN             = 0x5B,  // Left Windows key (Microsoft Natural keyboard)
00165 00093                 KEY_RWIN             = 0x5C,  // Right Windows key (Natural keyboard)
00166 00094                 KEY_APPS             = 0x5D,  //Applications key (Natural keyboard)
00167 00095                 KEY_SLEEP            = 0x5F,  // Computer Sleep key
00168 00096                 KEY_NUMPAD0          = 0x60,  // Numeric keypad 0 key
00169 00097                 KEY_NUMPAD1          = 0x61,  // Numeric keypad 1 key
00170 00098                 KEY_NUMPAD2          = 0x62,  // Numeric keypad 2 key
00171 00099                 KEY_NUMPAD3          = 0x63,  // Numeric keypad 3 key
00172 00100                 KEY_NUMPAD4          = 0x64,  // Numeric keypad 4 key
00173 00101                 KEY_NUMPAD5          = 0x65,  // Numeric keypad 5 key
00174 00102                 KEY_NUMPAD6          = 0x66,  // Numeric keypad 6 key
00175 00103                 KEY_NUMPAD7          = 0x67,  // Numeric keypad 7 key
00176 00104                 KEY_NUMPAD8          = 0x68,  // Numeric keypad 8 key
00177 00105                 KEY_NUMPAD9          = 0x69,  // Numeric keypad 9 key
00178 00106                 KEY_MULTIPLY         = 0x6A,  // Multiply key
00179 00107                 KEY_ADD              = 0x6B,  // Add key
00180 00108                 KEY_SEPARATOR        = 0x6C,  // Separator key
00181 00109                 KEY_SUBTRACT         = 0x6D,  // Subtract key
00182 00110                 KEY_DECIMAL          = 0x6E,  // Decimal key
00183 00111                 KEY_DIVIDE           = 0x6F,  // Divide key
00184 00112                 KEY_F1               = 0x70,  // F1 key
00185 00113                 KEY_F2               = 0x71,  // F2 key
00186 00114                 KEY_F3               = 0x72,  // F3 key
00187 00115                 KEY_F4               = 0x73,  // F4 key
00188 00116                 KEY_F5               = 0x74,  // F5 key
00189 00117                 KEY_F6               = 0x75,  // F6 key
00190 00118                 KEY_F7               = 0x76,  // F7 key
00191 00119                 KEY_F8               = 0x77,  // F8 key
00192 00120                 KEY_F9               = 0x78,  // F9 key
00193 00121                 KEY_F10              = 0x79,  // F10 key
00194 00122                 KEY_F11              = 0x7A,  // F11 key
00195 00123                 KEY_F12              = 0x7B,  // F12 key
00196 00124                 KEY_F13              = 0x7C,  // F13 key
00197 00125                 KEY_F14              = 0x7D,  // F14 key
00198 00126                 KEY_F15              = 0x7E,  // F15 key
00199 00127                 KEY_F16              = 0x7F,  // F16 key
00200 00128                 KEY_F17              = 0x80,  // F17 key
00201 00129                 KEY_F18              = 0x81,  // F18 key
00202 00130                 KEY_F19              = 0x82,  // F19 key
00203 00131                 KEY_F20              = 0x83,  // F20 key
00204 00132                 KEY_F21              = 0x84,  // F21 key
00205 00133                 KEY_F22              = 0x85,  // F22 key
00206 00134                 KEY_F23              = 0x86,  // F23 key
00207 00135                 KEY_F24              = 0x87,  // F24 key
00208 00136                 KEY_NUMLOCK          = 0x90,  // NUM LOCK key
00209 00137                 KEY_SCROLL           = 0x91,  // SCROLL LOCK key
00210 00138                 KEY_LSHIFT           = 0xA0,  // Left SHIFT key
00211 00139                 KEY_RSHIFT           = 0xA1,  // Right SHIFT key
00212 00140                 KEY_LCONTROL         = 0xA2,  // Left CONTROL key
00213 00141                 KEY_RCONTROL         = 0xA3,  // Right CONTROL key
00214 00142                 KEY_LMENU            = 0xA4,  // Left MENU key
00215 00143                 KEY_RMENU            = 0xA5,  // Right MENU key
00216 00144                 KEY_COMMA            = 0xBC,  // Comma Key  (,)
00217 00145                 KEY_PLUS             = 0xBB,  // Plus Key   (+)
00218 00146                 KEY_MINUS            = 0xBD,  // Minus Key  (-)
00219 00147                 KEY_PERIOD           = 0xBE,  // Period Key (.)
00220 00148                 KEY_ATTN             = 0xF6,  // Attn key
00221 00149                 KEY_CRSEL            = 0xF7,  // CrSel key
00222 00150                 KEY_EXSEL            = 0xF8,  // ExSel key
00223 00151                 KEY_EREOF            = 0xF9,  // Erase EOF key
00224 00152                 KEY_PLAY             = 0xFA,  // Play key
00225 KEY_ZOOM             = 0xFB,  // Zoom key
00226 KEY_PA1              = 0xFD,  // PA1 key
00227 KEY_OEM_CLEAR        = 0xFE,   // Clear key
00228 
00229 KEY_KEY_CODES_COUNT  = 0xFF // this is not a key, but the amount of keycodes there are.
00230 };
00231 */
00232 
00233 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5