| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/Main/Lib/ddio_common.h $ |
| 21 | * $Revision: 1.3 $ |
| 22 | * $Date: 2004/02/09 04:14:51 $ |
| 23 | * $Author: kevinb $ |
| 24 | * |
| 25 | * Common DDIO functions |
| 26 | * |
| 27 | * $Log: ddio_common.h,v $ |
| 28 | * Revision 1.3 2004/02/09 04:14:51 kevinb |
| 29 | * Added newlines to all headers to reduce number of warnings printed |
| 30 | * |
| 31 | * Made some small changes to get everything compiling. |
| 32 | * |
| 33 | * All Ready to merge the 1.5 tree. |
| 34 | * |
| 35 | * Revision 1.2 2000/09/22 19:04:37 icculus |
| 36 | * SDLK_WORLD support |
| 37 | * |
| 38 | * Revision 1.1.1.1 2000/04/18 00:00:38 icculus |
| 39 | * initial checkin |
| 40 | * |
| 41 | * |
| 42 | * 20 10/21/99 9:27p Jeff |
| 43 | * B.A. Macintosh code merge |
| 44 | * |
| 45 | * 19 5/11/99 11:18a Jeff |
| 46 | * added serial support |
| 47 | * |
| 48 | * 18 4/24/99 5:41p Samir |
| 49 | * moved key to ascii, ascii to key to the ddio_common library. |
| 50 | * |
| 51 | * 17 4/22/99 2:48a Jeff |
| 52 | * fixed changed prototype |
| 53 | * |
| 54 | * 16 4/09/99 12:02p Samir |
| 55 | * joystick changes (Win32 DirectInput support) |
| 56 | * |
| 57 | * 15 2/21/99 6:38p Samir |
| 58 | * mouse and key input better. buffered mouse. |
| 59 | * |
| 60 | * 14 1/25/99 6:47p Samir |
| 61 | * allow slow keyboard |
| 62 | * |
| 63 | * 13 1/25/99 11:02a Samir |
| 64 | * revamped mouse and key controls. |
| 65 | * |
| 66 | * 12 10/20/98 12:58a Jeff |
| 67 | * added a way to force a lo-resolution timer |
| 68 | * |
| 69 | * 11 9/17/98 12:50p Samir |
| 70 | * added ddio_KeyFlushKey. |
| 71 | * |
| 72 | * 10 8/12/98 2:54p Matt |
| 73 | * Renamed the slash and backslash key constants. |
| 74 | * |
| 75 | * 9 7/01/98 4:55p Samir |
| 76 | * new simplified mouse system. |
| 77 | * |
| 78 | * 8 6/30/98 4:20p Samir |
| 79 | * added ddio_Close as standalone. ddio_Init will no longer close |
| 80 | * itself. |
| 81 | * |
| 82 | * 7 6/24/98 3:26p Samir |
| 83 | * changed codes for pause and NUMLOCK, since they seem different under |
| 84 | * windows. |
| 85 | * |
| 86 | * 6 3/24/98 4:26p Samir |
| 87 | * added function to return the state of an adjusted key. |
| 88 | * |
| 89 | * 5 2/25/98 6:11p Samir |
| 90 | * Added functions to better deal with key flushing. |
| 91 | * |
| 92 | * 4 12/10/97 1:12p Samir |
| 93 | * Pass time to ddio_UpdateKeyState |
| 94 | * |
| 95 | * 3 10/29/97 4:14p Samir |
| 96 | * Keep record of key down count per key. |
| 97 | * |
| 98 | * 2 10/16/97 2:28p Samir |
| 99 | * move keyboard init into ddio_init and added preemptive select for |
| 100 | * keyboard. |
| 101 | * |
| 102 | * 4 6/11/97 1:07p Samir |
| 103 | * The removal of gameos and replaced with oeApplication, oeDatabase |
| 104 | * |
| 105 | * 3 5/09/97 6:45p Samir |
| 106 | * Common keystate update function |
| 107 | * |
| 108 | * 2 5/08/97 1:55p Samir |
| 109 | * Move initialization stuff to ddio_common.h |
| 110 | * |
| 111 | * 1 5/08/97 12:34p Samir |
| 112 | * Moved functions from ddio.h to ddio_common.h |
| 113 | * |
| 114 | * $NoKeywords: $ |
| 115 | */ |
| 116 | |
| 117 | #ifndef DDIO_COMMON_H |
| 118 | #define DDIO_COMMON_Hcxx . . $ `ddio/ddio_common.h:118:9`! |
| 119 | |
| 120 | #include "application.h"cxx . . $ `<file>/lib/application.h`/ |
| 121 | #include "pstypes.h"cxx . . $ `<file>/lib/pstypes.h`/ |
| 122 | |
| 123 | #define DDIO_MOUSE_LITEcxx . . $ `ddio/ddio_common.h:123:9`! 2 // some ddio systems support the 'lite' extension of mice. |
| 124 | |
| 125 | struct ddio_init_infocxx . . $ ddio_init_info# { |
| 126 | oeApplicationcxx . . $ oeApplication# *objcxx . . $ ddio_init_info#obj.; // App object used to initialize to IO system |
| 127 | bool key_emulationcxx . . $ ddio_init_info#key_emulation.; // keyboard emulation |
| 128 | bool joy_emulationcxx . . $ ddio_init_info#joy_emulation.; // joystick emulation |
| 129 | }; |
| 130 | |
| 131 | // ---------------------------------------------------------------------------- |
| 132 | // Keyboard Initialization and destruction functions |
| 133 | // ---------------------------------------------------------------------------- |
| 134 | |
| 135 | // Initializes DDIO system |
| 136 | bool ddio_Initcxx . . $ ddio_Init(4aa02e9b14a147be).(ddio_init_infocxx . . $ ddio_init_info# *init_info); |
| 137 | void ddio_Closecxx . . $ ddio_Close(49f6e7a06ebc5aa8).(); |
| 138 | |
| 139 | // suspends ddio input system |
| 140 | void ddio_Suspendcxx . . $ ddio_Suspend(49f6e7a06ebc5aa8).(); |
| 141 | void ddio_Resumecxx . . $ ddio_Resume(49f6e7a06ebc5aa8).(); |
| 142 | |
| 143 | // performs io per frame. |
| 144 | void ddio_Framecxx . . $ ddio_Frame(49f6e7a06ebc5aa8).(); |
| 145 | |
| 146 | // initializes keyboard |
| 147 | bool ddio_KeyInitcxx . . $ ddio_KeyInit(4aa02e9b14a147be).(ddio_init_infocxx . . $ ddio_init_info# *init_info); |
| 148 | |
| 149 | // closes keyboard |
| 150 | void ddio_KeyClosecxx . . $ ddio_KeyClose(49f6e7a06ebc5aa8).(); |
| 151 | |
| 152 | // Handles keyboard queue management(TAKES ADJUSTED KEY VALUES) |
| 153 | void ddio_AddKeyToQueuecxx . . $ ddio_AddKeyToQueue(d4f767463ce0a6b3).(int key); |
| 154 | |
| 155 | // Updates timing info for keys |
| 156 | void ddio_UpdateKeyStatecxx . . $ ddio_UpdateKeyState(918ebd27a9ddbad3).(int key, bool isdown); |
| 157 | |
| 158 | // given a key code defined below, returns time in seconds since last call. |
| 159 | float ddio_KeyDownTimecxx . . $ ddio_KeyDownTime(5cde91ea12d43f46).(int key); |
| 160 | |
| 161 | // return number of times a key's been down since last call. |
| 162 | int ddio_KeyDownCountcxx . . $ ddio_KeyDownCount(7864480464b09eea).(int key); |
| 163 | |
| 164 | // returns the state of an ADJUSTED KEY VALUE |
| 165 | bool ddio_GetAdjKeyStatecxx . . $ ddio_GetAdjKeyState(83c267b20bac841a).(int adj_key); |
| 166 | |
| 167 | // flush keyboard queue |
| 168 | void ddio_KeyFlushcxx . . $ ddio_KeyFlush(49f6e7a06ebc5aa8).(); |
| 169 | |
| 170 | // flushes an individual key's timing values. |
| 171 | void ddio_KeyFlushKeycxx . . $ ddio_KeyFlushKey(d4f767463ce0a6b3).(int key); |
| 172 | |
| 173 | // gets ADJUSTED KEY from queue |
| 174 | int ddio_KeyInKeycxx . . $ ddio_KeyInKey(b126dc7c1de90089).(); |
| 175 | |
| 176 | // determine if there are ADJUSTED keys in keyqueue |
| 177 | int ddio_KeyPeekcxx . . $ ddio_KeyPeek(b126dc7c1de90089).(); |
| 178 | |
| 179 | // handle input of keyboard per frame. |
| 180 | bool ddio_KeyFramecxx . . $ ddio_KeyFrame(c9857a73d68e59ba).(); |
| 181 | |
| 182 | // converts keycode to ASCII |
| 183 | int ddio_KeyToAsciicxx . . $ ddio_KeyToAscii(7864480464b09eea).(int code); |
| 184 | |
| 185 | // converts ascii code to key |
| 186 | int ddio_AsciiToKeycxx . . $ ddio_AsciiToKey(7864480464b09eea).(int ascii); |
| 187 | |
| 188 | // sets type of keyboard to emulate |
| 189 | #define KBLANG_AMERICANcxx . . $ `ddio/ddio_common.h:189:9`! 0 |
| 190 | #define KBLANG_BRITISHcxx . . $ `ddio/ddio_common.h:190:9`! 1 |
| 191 | #define KBLANG_FRENCHcxx . . $ `ddio/ddio_common.h:191:9`! 2 |
| 192 | #define KBLANG_GERMANcxx . . $ `ddio/ddio_common.h:192:9`! 3 |
| 193 | |
| 194 | void ddio_SetKeyboardLanguagecxx . . $ ddio_SetKeyboardLanguage(d4f767463ce0a6b3).(int language); |
| 195 | |
| 196 | // ---------------------------------------------------------------------------- |
| 197 | // KEYBOARD CONSTANTS |
| 198 | // ---------------------------------------------------------------------------- |
| 199 | |
| 200 | // array of key states. |
| 201 | extern volatile int16_tcxx . . $ int16_t# DDIO_key_down_countcxx . . $ DDIO_key_down_count.[]; |
| 202 | extern volatile uint8_tcxx . . $ uint8_t# DDIO_key_statecxx . . $ DDIO_key_state.[]; |
| 203 | |
| 204 | #define KEY_STATEcxx . . $ `ddio/ddio_common.h:204:9`!(_c) DDIO_key_state[_c] |
| 205 | #define DDIO_MAX_KEYScxx . . $ `ddio/ddio_common.h:205:9`! 256 |
| 206 | |
| 207 | // masks used to specify current keycode state matched with scancode |
| 208 | #define KEY_SHIFTEDcxx . . $ `ddio/ddio_common.h:208:9`! 0x100 |
| 209 | #define KEY_ALTEDcxx . . $ `ddio/ddio_common.h:209:9`! 0x200 |
| 210 | #define KEY_CTRLEDcxx . . $ `ddio/ddio_common.h:210:9`! 0x400 |
| 211 | #define KEY_DEBUGGEDcxx . . $ `ddio/ddio_common.h:211:9`! 0x800 |
| 212 | |
| 213 | // used when defining a system code to use in KeyUpdateState |
| 214 | // masks |
| 215 | #define KEY_STATE_DOWNcxx . . $ `ddio/ddio_common.h:215:9`! 0x80000000 |
| 216 | #define KEY_STATE_SYSTEMcxx . . $ `ddio/ddio_common.h:216:9`! 0x40000000 |
| 217 | |
| 218 | // codes |
| 219 | #define KEY_0cxx . . $ `ddio/ddio_common.h:219:9`! 0x0B |
| 220 | #define KEY_1cxx . . $ `ddio/ddio_common.h:220:9`! 0x02 |
| 221 | #define KEY_2cxx . . $ `ddio/ddio_common.h:221:9`! 0x03 |
| 222 | #define KEY_3cxx . . $ `ddio/ddio_common.h:222:9`! 0x04 |
| 223 | #define KEY_4cxx . . $ `ddio/ddio_common.h:223:9`! 0x05 |
| 224 | #define KEY_5cxx . . $ `ddio/ddio_common.h:224:9`! 0x06 |
| 225 | #define KEY_6cxx . . $ `ddio/ddio_common.h:225:9`! 0x07 |
| 226 | #define KEY_7cxx . . $ `ddio/ddio_common.h:226:9`! 0x08 |
| 227 | #define KEY_8cxx . . $ `ddio/ddio_common.h:227:9`! 0x09 |
| 228 | #define KEY_9cxx . . $ `ddio/ddio_common.h:228:9`! 0x0A |
| 229 | #define KEY_Acxx . . $ `ddio/ddio_common.h:229:9`! 0x1E |
| 230 | #define KEY_Bcxx . . $ `ddio/ddio_common.h:230:9`! 0x30 |
| 231 | #define KEY_Ccxx . . $ `ddio/ddio_common.h:231:9`! 0x2E |
| 232 | #define KEY_Dcxx . . $ `ddio/ddio_common.h:232:9`! 0x20 |
| 233 | #define KEY_Ecxx . . $ `ddio/ddio_common.h:233:9`! 0x12 |
| 234 | #define KEY_Fcxx . . $ `ddio/ddio_common.h:234:9`! 0x21 |
| 235 | #define KEY_Gcxx . . $ `ddio/ddio_common.h:235:9`! 0x22 |
| 236 | #define KEY_Hcxx . . $ `ddio/ddio_common.h:236:9`! 0x23 |
| 237 | #define KEY_Icxx . . $ `ddio/ddio_common.h:237:9`! 0x17 |
| 238 | #define KEY_Jcxx . . $ `ddio/ddio_common.h:238:9`! 0x24 |
| 239 | #define KEY_Kcxx . . $ `ddio/ddio_common.h:239:9`! 0x25 |
| 240 | #define KEY_Lcxx . . $ `ddio/ddio_common.h:240:9`! 0x26 |
| 241 | #define KEY_Mcxx . . $ `ddio/ddio_common.h:241:9`! 0x32 |
| 242 | #define KEY_Ncxx . . $ `ddio/ddio_common.h:242:9`! 0x31 |
| 243 | #define KEY_Ocxx . . $ `ddio/ddio_common.h:243:9`! 0x18 |
| 244 | #define KEY_Pcxx . . $ `ddio/ddio_common.h:244:9`! 0x19 |
| 245 | #define KEY_Qcxx . . $ `ddio/ddio_common.h:245:9`! 0x10 |
| 246 | #define KEY_Rcxx . . $ `ddio/ddio_common.h:246:9`! 0x13 |
| 247 | #define KEY_Scxx . . $ `ddio/ddio_common.h:247:9`! 0x1F |
| 248 | #define KEY_Tcxx . . $ `ddio/ddio_common.h:248:9`! 0x14 |
| 249 | #define KEY_Ucxx . . $ `ddio/ddio_common.h:249:9`! 0x16 |
| 250 | #define KEY_Vcxx . . $ `ddio/ddio_common.h:250:9`! 0x2F |
| 251 | #define KEY_Wcxx . . $ `ddio/ddio_common.h:251:9`! 0x11 |
| 252 | #define KEY_Xcxx . . $ `ddio/ddio_common.h:252:9`! 0x2D |
| 253 | #define KEY_Ycxx . . $ `ddio/ddio_common.h:253:9`! 0x15 |
| 254 | #define KEY_Zcxx . . $ `ddio/ddio_common.h:254:9`! 0x2C |
| 255 | #define KEY_MINUScxx . . $ `ddio/ddio_common.h:255:9`! 0x0C |
| 256 | #define KEY_EQUALcxx . . $ `ddio/ddio_common.h:256:9`! 0x0D |
| 257 | #define KEY_SLASHcxx . . $ `ddio/ddio_common.h:257:9`! 0x35 // was KEY_DIVIDE in Descent & D2 |
| 258 | #define KEY_BACKSLASHcxx . . $ `ddio/ddio_common.h:258:9`! 0x2B // was KEY_SLASH in Descent and D2 |
| 259 | #define KEY_BSLASH_UKcxx . . $ `ddio/ddio_common.h:259:9`! 0x56 // UK keyboards have diffent backslash scan code |
| 260 | #define KEY_COMMAcxx . . $ `ddio/ddio_common.h:260:9`! 0x33 |
| 261 | #define KEY_PERIODcxx . . $ `ddio/ddio_common.h:261:9`! 0x34 |
| 262 | #define KEY_SEMICOLcxx . . $ `ddio/ddio_common.h:262:9`! 0x27 |
| 263 | #define KEY_LBRACKETcxx . . $ `ddio/ddio_common.h:263:9`! 0x1A |
| 264 | #define KEY_RBRACKETcxx . . $ `ddio/ddio_common.h:264:9`! 0x1B |
| 265 | #define KEY_RAPOSTROcxx . . $ `ddio/ddio_common.h:265:9`! 0x28 |
| 266 | #define KEY_LAPOSTROcxx . . $ `ddio/ddio_common.h:266:9`! 0x29 |
| 267 | #define KEY_ESCcxx . . $ `ddio/ddio_common.h:267:9`! 0x01 |
| 268 | #define KEY_ENTERcxx . . $ `ddio/ddio_common.h:268:9`! 0x1C |
| 269 | #define KEY_BACKSPcxx . . $ `ddio/ddio_common.h:269:9`! 0x0E |
| 270 | #define KEY_TABcxx . . $ `ddio/ddio_common.h:270:9`! 0x0F |
| 271 | #define KEY_SPACEBARcxx . . $ `ddio/ddio_common.h:271:9`! 0x39 |
| 272 | #define KEY_NUMLOCKcxx . . $ `ddio/ddio_common.h:272:9`! 0xC5 |
| 273 | #define KEY_SCROLLOCKcxx . . $ `ddio/ddio_common.h:273:9`! 0x46 |
| 274 | #define KEY_CAPSLOCKcxx . . $ `ddio/ddio_common.h:274:9`! 0x3A |
| 275 | #define KEY_LSHIFTcxx . . $ `ddio/ddio_common.h:275:9`! 0x2A |
| 276 | #define KEY_RSHIFTcxx . . $ `ddio/ddio_common.h:276:9`! 0x36 |
| 277 | #define KEY_LALTcxx . . $ `ddio/ddio_common.h:277:9`! 0x38 |
| 278 | #define KEY_RALTcxx . . $ `ddio/ddio_common.h:278:9`! 0xB8 |
| 279 | #define KEY_LCTRLcxx . . $ `ddio/ddio_common.h:279:9`! 0x1D |
| 280 | #define KEY_RCTRLcxx . . $ `ddio/ddio_common.h:280:9`! 0x9D |
| 281 | |
| 282 | #define KEY_F1cxx . . $ `ddio/ddio_common.h:282:9`! 0x3B |
| 283 | #define KEY_F2cxx . . $ `ddio/ddio_common.h:283:9`! 0x3C |
| 284 | #define KEY_F3cxx . . $ `ddio/ddio_common.h:284:9`! 0x3D |
| 285 | #define KEY_F4cxx . . $ `ddio/ddio_common.h:285:9`! 0x3E |
| 286 | #define KEY_F5cxx . . $ `ddio/ddio_common.h:286:9`! 0x3F |
| 287 | #define KEY_F6cxx . . $ `ddio/ddio_common.h:287:9`! 0x40 |
| 288 | #define KEY_F7cxx . . $ `ddio/ddio_common.h:288:9`! 0x41 |
| 289 | #define KEY_F8cxx . . $ `ddio/ddio_common.h:289:9`! 0x42 |
| 290 | #define KEY_F9cxx . . $ `ddio/ddio_common.h:290:9`! 0x43 |
| 291 | #define KEY_F10cxx . . $ `ddio/ddio_common.h:291:9`! 0x44 |
| 292 | #define KEY_F11cxx . . $ `ddio/ddio_common.h:292:9`! 0x57 |
| 293 | #define KEY_F12cxx . . $ `ddio/ddio_common.h:293:9`! 0x58 |
| 294 | |
| 295 | #define KEY_PAD0cxx . . $ `ddio/ddio_common.h:295:9`! 0x52 |
| 296 | #define KEY_PAD1cxx . . $ `ddio/ddio_common.h:296:9`! 0x4F |
| 297 | #define KEY_PAD2cxx . . $ `ddio/ddio_common.h:297:9`! 0x50 |
| 298 | #define KEY_PAD3cxx . . $ `ddio/ddio_common.h:298:9`! 0x51 |
| 299 | #define KEY_PAD4cxx . . $ `ddio/ddio_common.h:299:9`! 0x4B |
| 300 | #define KEY_PAD5cxx . . $ `ddio/ddio_common.h:300:9`! 0x4C |
| 301 | #define KEY_PAD6cxx . . $ `ddio/ddio_common.h:301:9`! 0x4D |
| 302 | #define KEY_PAD7cxx . . $ `ddio/ddio_common.h:302:9`! 0x47 |
| 303 | #define KEY_PAD8cxx . . $ `ddio/ddio_common.h:303:9`! 0x48 |
| 304 | #define KEY_PAD9cxx . . $ `ddio/ddio_common.h:304:9`! 0x49 |
| 305 | #define KEY_PADMINUScxx . . $ `ddio/ddio_common.h:305:9`! 0x4A |
| 306 | #define KEY_PADPLUScxx . . $ `ddio/ddio_common.h:306:9`! 0x4E |
| 307 | #define KEY_PADPERIODcxx . . $ `ddio/ddio_common.h:307:9`! 0x53 |
| 308 | #define KEY_PADDIVIDEcxx . . $ `ddio/ddio_common.h:308:9`! 0xB5 |
| 309 | #define KEY_PADMULTIPLYcxx . . $ `ddio/ddio_common.h:309:9`! 0x37 |
| 310 | #define KEY_PADENTERcxx . . $ `ddio/ddio_common.h:310:9`! 0x9C |
| 311 | |
| 312 | #define KEY_INSERTcxx . . $ `ddio/ddio_common.h:312:9`! 0xD2 |
| 313 | #define KEY_HOMEcxx . . $ `ddio/ddio_common.h:313:9`! 0xC7 |
| 314 | #define KEY_PAGEUPcxx . . $ `ddio/ddio_common.h:314:9`! 0xC9 |
| 315 | #define KEY_DELETEcxx . . $ `ddio/ddio_common.h:315:9`! 0xD3 |
| 316 | #define KEY_ENDcxx . . $ `ddio/ddio_common.h:316:9`! 0xCF |
| 317 | #define KEY_PAGEDOWNcxx . . $ `ddio/ddio_common.h:317:9`! 0xD1 |
| 318 | #define KEY_UPcxx . . $ `ddio/ddio_common.h:318:9`! 0xC8 |
| 319 | #define KEY_DOWNcxx . . $ `ddio/ddio_common.h:319:9`! 0xD0 |
| 320 | #define KEY_LEFTcxx . . $ `ddio/ddio_common.h:320:9`! 0xCB |
| 321 | #define KEY_RIGHTcxx . . $ `ddio/ddio_common.h:321:9`! 0xCD |
| 322 | #define KEY_PRINT_SCREENcxx . . $ `ddio/ddio_common.h:322:9`! 0xB7 |
| 323 | #define KEY_PAUSEcxx . . $ `ddio/ddio_common.h:323:9`! 0x45 |
| 324 | |
| 325 | #define KEY_WORLD0cxx . . $ `ddio/ddio_common.h:325:9`! 0x54 |
| 326 | #define KEY_WORLD1cxx . . $ `ddio/ddio_common.h:326:9`! 0x55 |
| 327 | #define KEY_WORLD2cxx . . $ `ddio/ddio_common.h:327:9`! 0x56 |
| 328 | #define KEY_WORLD3cxx . . $ `ddio/ddio_common.h:328:9`! 0x57 |
| 329 | #define KEY_WORLD4cxx . . $ `ddio/ddio_common.h:329:9`! 0x58 |
| 330 | #define KEY_WORLD5cxx . . $ `ddio/ddio_common.h:330:9`! 0x59 |
| 331 | #define KEY_WORLD6cxx . . $ `ddio/ddio_common.h:331:9`! 0x5A |
| 332 | #define KEY_WORLD7cxx . . $ `ddio/ddio_common.h:332:9`! 0x5B |
| 333 | #define KEY_WORLD8cxx . . $ `ddio/ddio_common.h:333:9`! 0x5C |
| 334 | #define KEY_WORLD9cxx . . $ `ddio/ddio_common.h:334:9`! 0x5D |
| 335 | #define KEY_WORLD10cxx . . $ `ddio/ddio_common.h:335:9`! 0x5E |
| 336 | #define KEY_WORLD11cxx . . $ `ddio/ddio_common.h:336:9`! 0x5F |
| 337 | #define KEY_WORLD12cxx . . $ `ddio/ddio_common.h:337:9`! 0x60 |
| 338 | #define KEY_WORLD13cxx . . $ `ddio/ddio_common.h:338:9`! 0x61 |
| 339 | #define KEY_WORLD14cxx . . $ `ddio/ddio_common.h:339:9`! 0x62 |
| 340 | #define KEY_WORLD15cxx . . $ `ddio/ddio_common.h:340:9`! 0x63 |
| 341 | #define KEY_WORLD16cxx . . $ `ddio/ddio_common.h:341:9`! 0x64 |
| 342 | #define KEY_WORLD17cxx . . $ `ddio/ddio_common.h:342:9`! 0x65 |
| 343 | #define KEY_WORLD18cxx . . $ `ddio/ddio_common.h:343:9`! 0x66 |
| 344 | #define KEY_WORLD19cxx . . $ `ddio/ddio_common.h:344:9`! 0x67 |
| 345 | #define KEY_WORLD20cxx . . $ `ddio/ddio_common.h:345:9`! 0x68 |
| 346 | #define KEY_WORLD21cxx . . $ `ddio/ddio_common.h:346:9`! 0x69 |
| 347 | #define KEY_WORLD22cxx . . $ `ddio/ddio_common.h:347:9`! 0x6A |
| 348 | #define KEY_WORLD23cxx . . $ `ddio/ddio_common.h:348:9`! 0x6B |
| 349 | #define KEY_WORLD24cxx . . $ `ddio/ddio_common.h:349:9`! 0x6C |
| 350 | #define KEY_WORLD25cxx . . $ `ddio/ddio_common.h:350:9`! 0x6D |
| 351 | #define KEY_WORLD26cxx . . $ `ddio/ddio_common.h:351:9`! 0x6E |
| 352 | #define KEY_WORLD27cxx . . $ `ddio/ddio_common.h:352:9`! 0x6F |
| 353 | #define KEY_WORLD28cxx . . $ `ddio/ddio_common.h:353:9`! 0x70 |
| 354 | #define KEY_WORLD29cxx . . $ `ddio/ddio_common.h:354:9`! 0x71 |
| 355 | #define KEY_WORLD30cxx . . $ `ddio/ddio_common.h:355:9`! 0x72 |
| 356 | #define KEY_WORLD31cxx . . $ `ddio/ddio_common.h:356:9`! 0x73 |
| 357 | #define KEY_WORLD32cxx . . $ `ddio/ddio_common.h:357:9`! 0x74 |
| 358 | #define KEY_WORLD33cxx . . $ `ddio/ddio_common.h:358:9`! 0x75 |
| 359 | #define KEY_WORLD34cxx . . $ `ddio/ddio_common.h:359:9`! 0x76 |
| 360 | #define KEY_WORLD35cxx . . $ `ddio/ddio_common.h:360:9`! 0x77 |
| 361 | #define KEY_WORLD36cxx . . $ `ddio/ddio_common.h:361:9`! 0x78 |
| 362 | #define KEY_WORLD37cxx . . $ `ddio/ddio_common.h:362:9`! 0x79 |
| 363 | #define KEY_WORLD38cxx . . $ `ddio/ddio_common.h:363:9`! 0x7A |
| 364 | #define KEY_WORLD39cxx . . $ `ddio/ddio_common.h:364:9`! 0x7B |
| 365 | #define KEY_WORLD40cxx . . $ `ddio/ddio_common.h:365:9`! 0x7C |
| 366 | #define KEY_WORLD41cxx . . $ `ddio/ddio_common.h:366:9`! 0x7D |
| 367 | #define KEY_WORLD42cxx . . $ `ddio/ddio_common.h:367:9`! 0x7E |
| 368 | #define KEY_WORLD43cxx . . $ `ddio/ddio_common.h:368:9`! 0x7F |
| 369 | #define KEY_WORLD44cxx . . $ `ddio/ddio_common.h:369:9`! 0x80 |
| 370 | #define KEY_WORLD45cxx . . $ `ddio/ddio_common.h:370:9`! 0x81 |
| 371 | #define KEY_WORLD46cxx . . $ `ddio/ddio_common.h:371:9`! 0x82 |
| 372 | #define KEY_WORLD47cxx . . $ `ddio/ddio_common.h:372:9`! 0x83 |
| 373 | #define KEY_WORLD48cxx . . $ `ddio/ddio_common.h:373:9`! 0x84 |
| 374 | #define KEY_WORLD49cxx . . $ `ddio/ddio_common.h:374:9`! 0x85 |
| 375 | #define KEY_WORLD50cxx . . $ `ddio/ddio_common.h:375:9`! 0x86 |
| 376 | #define KEY_WORLD51cxx . . $ `ddio/ddio_common.h:376:9`! 0x87 |
| 377 | #define KEY_WORLD52cxx . . $ `ddio/ddio_common.h:377:9`! 0x88 |
| 378 | #define KEY_WORLD53cxx . . $ `ddio/ddio_common.h:378:9`! 0x89 |
| 379 | #define KEY_WORLD54cxx . . $ `ddio/ddio_common.h:379:9`! 0x8A |
| 380 | #define KEY_WORLD55cxx . . $ `ddio/ddio_common.h:380:9`! 0x8B |
| 381 | #define KEY_WORLD56cxx . . $ `ddio/ddio_common.h:381:9`! 0x8C |
| 382 | #define KEY_WORLD57cxx . . $ `ddio/ddio_common.h:382:9`! 0x8D |
| 383 | #define KEY_WORLD58cxx . . $ `ddio/ddio_common.h:383:9`! 0x8E |
| 384 | #define KEY_WORLD59cxx . . $ `ddio/ddio_common.h:384:9`! 0x8F |
| 385 | #define KEY_WORLD60cxx . . $ `ddio/ddio_common.h:385:9`! 0x90 |
| 386 | #define KEY_WORLD61cxx . . $ `ddio/ddio_common.h:386:9`! 0x91 |
| 387 | #define KEY_WORLD62cxx . . $ `ddio/ddio_common.h:387:9`! 0x92 |
| 388 | #define KEY_WORLD63cxx . . $ `ddio/ddio_common.h:388:9`! 0x93 |
| 389 | #define KEY_WORLD64cxx . . $ `ddio/ddio_common.h:389:9`! 0x94 |
| 390 | #define KEY_WORLD65cxx . . $ `ddio/ddio_common.h:390:9`! 0x95 |
| 391 | #define KEY_WORLD66cxx . . $ `ddio/ddio_common.h:391:9`! 0x96 |
| 392 | #define KEY_WORLD67cxx . . $ `ddio/ddio_common.h:392:9`! 0x97 |
| 393 | #define KEY_WORLD68cxx . . $ `ddio/ddio_common.h:393:9`! 0x98 |
| 394 | #define KEY_WORLD69cxx . . $ `ddio/ddio_common.h:394:9`! 0x99 |
| 395 | #define KEY_WORLD70cxx . . $ `ddio/ddio_common.h:395:9`! 0x9A |
| 396 | #define KEY_WORLD71cxx . . $ `ddio/ddio_common.h:396:9`! 0x9B |
| 397 | // --- rcg07312000 ...skip... |
| 398 | #define KEY_WORLD72cxx . . $ `ddio/ddio_common.h:398:9`! 0xE1 |
| 399 | #define KEY_WORLD73cxx . . $ `ddio/ddio_common.h:399:9`! 0xE2 |
| 400 | #define KEY_WORLD74cxx . . $ `ddio/ddio_common.h:400:9`! 0xE3 |
| 401 | #define KEY_WORLD75cxx . . $ `ddio/ddio_common.h:401:9`! 0xE4 |
| 402 | #define KEY_WORLD76cxx . . $ `ddio/ddio_common.h:402:9`! 0xE5 |
| 403 | #define KEY_WORLD77cxx . . $ `ddio/ddio_common.h:403:9`! 0xE6 |
| 404 | #define KEY_WORLD78cxx . . $ `ddio/ddio_common.h:404:9`! 0xE7 |
| 405 | #define KEY_WORLD79cxx . . $ `ddio/ddio_common.h:405:9`! 0xE8 |
| 406 | #define KEY_WORLD80cxx . . $ `ddio/ddio_common.h:406:9`! 0xE9 |
| 407 | #define KEY_WORLD81cxx . . $ `ddio/ddio_common.h:407:9`! 0xE0 |
| 408 | #define KEY_WORLD82cxx . . $ `ddio/ddio_common.h:408:9`! 0xEA |
| 409 | #define KEY_WORLD83cxx . . $ `ddio/ddio_common.h:409:9`! 0xEB |
| 410 | #define KEY_WORLD84cxx . . $ `ddio/ddio_common.h:410:9`! 0xEC |
| 411 | #define KEY_WORLD85cxx . . $ `ddio/ddio_common.h:411:9`! 0xED |
| 412 | #define KEY_WORLD86cxx . . $ `ddio/ddio_common.h:412:9`! 0xEE |
| 413 | #define KEY_WORLD87cxx . . $ `ddio/ddio_common.h:413:9`! 0xEF |
| 414 | #define KEY_WORLD88cxx . . $ `ddio/ddio_common.h:414:9`! 0xF0 |
| 415 | #define KEY_WORLD89cxx . . $ `ddio/ddio_common.h:415:9`! 0xF1 |
| 416 | #define KEY_WORLD90cxx . . $ `ddio/ddio_common.h:416:9`! 0xF2 |
| 417 | #define KEY_WORLD91cxx . . $ `ddio/ddio_common.h:417:9`! 0xF3 |
| 418 | #define KEY_WORLD92cxx . . $ `ddio/ddio_common.h:418:9`! 0xF4 |
| 419 | #define KEY_WORLD93cxx . . $ `ddio/ddio_common.h:419:9`! 0xF5 |
| 420 | #define KEY_WORLD94cxx . . $ `ddio/ddio_common.h:420:9`! 0xF6 |
| 421 | #define KEY_WORLD95cxx . . $ `ddio/ddio_common.h:421:9`! 0xF7 |
| 422 | |
| 423 | #define KEY_CMDcxx . . $ `ddio/ddio_common.h:423:9`! 0xE0 // DAJ mac command key |
| 424 | |
| 425 | #endif |