DirectInput.pas
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:319k
- DIAXIS_FLYINGC_RUDDER = $04025205; (* Yaw ship left/right *)
- {$EXTERNALSYM DIAXIS_FLYINGC_RUDDER}
- DIAXIS_FLYINGC_FLAPS = $04055A06; (* Flaps *)
- {$EXTERNALSYM DIAXIS_FLYINGC_FLAPS}
- DIBUTTON_FLYINGC_FLAPSUP = $04006404; (* Increment stepping up until fully retracted *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_FLAPSUP}
- DIBUTTON_FLYINGC_FLAPSDOWN = $04006405; (* Decrement stepping down until fully extended *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_FLAPSDOWN}
- DIBUTTON_FLYINGC_BRAKE_LINK = $04046CE0; (* Fallback brake button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_BRAKE_LINK}
- DIBUTTON_FLYINGC_FASTER_LINK = $0403D4E0; (* Fallback throttle up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_FASTER_LINK}
- DIBUTTON_FLYINGC_SLOWER_LINK = $0403D4E8; (* Fallback throttle down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_SLOWER_LINK}
- DIBUTTON_FLYINGC_GLANCE_LEFT_LINK = $0407C4E4; (* Fallback Glance Left button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_GLANCE_LEFT_LINK}
- DIBUTTON_FLYINGC_GLANCE_RIGHT_LINK = $0407C4EC; (* Fallback Glance Right button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_GLANCE_RIGHT_LINK}
- DIBUTTON_FLYINGC_GLANCE_UP_LINK = $0407C4E0; (* Fallback Glance Up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_GLANCE_UP_LINK}
- DIBUTTON_FLYINGC_GLANCE_DOWN_LINK = $0407C4E8; (* Fallback Glance Down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_GLANCE_DOWN_LINK}
- DIBUTTON_FLYINGC_DEVICE = $040044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_DEVICE}
- DIBUTTON_FLYINGC_PAUSE = $040044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FLYINGC_PAUSE}
- (*--- Flight Simulator - Military
- Aerial combat is the primary objective ---*)
- DIVIRTUAL_FLYING_MILITARY = $05000000;
- {$EXTERNALSYM DIVIRTUAL_FLYING_MILITARY}
- DIAXIS_FLYINGM_BANK = $05008A01; (* Bank - Roll ship left / right *)
- {$EXTERNALSYM DIAXIS_FLYINGM_BANK}
- DIAXIS_FLYINGM_PITCH = $05010A02; (* Pitch - Nose up / down *)
- {$EXTERNALSYM DIAXIS_FLYINGM_PITCH}
- DIAXIS_FLYINGM_THROTTLE = $05039203; (* Throttle - faster / slower *)
- {$EXTERNALSYM DIAXIS_FLYINGM_THROTTLE}
- DIBUTTON_FLYINGM_FIRE = $05000C01; (* Fire *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_FIRE}
- DIBUTTON_FLYINGM_WEAPONS = $05000C02; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_WEAPONS}
- DIBUTTON_FLYINGM_TARGET = $05000C03; (* Selects next available target *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_TARGET}
- DIBUTTON_FLYINGM_MENU = $050004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_FLYINGM_GLANCE = $05004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_FLYINGM_GLANCE}
- DIBUTTON_FLYINGM_COUNTER = $05005C04; (* Activate counter measures *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_COUNTER}
- DIAXIS_FLYINGM_RUDDER = $05024A04; (* Rudder - Yaw ship left/right *)
- {$EXTERNALSYM DIAXIS_FLYINGM_RUDDER}
- DIAXIS_FLYINGM_BRAKE = $05046205; (* Brake-axis *)
- {$EXTERNALSYM DIAXIS_FLYINGM_BRAKE}
- DIBUTTON_FLYINGM_VIEW = $05006405; (* Cycle through view options *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_VIEW}
- DIBUTTON_FLYINGM_DISPLAY = $05006406; (* Select next dashboard option *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_DISPLAY}
- DIAXIS_FLYINGM_FLAPS = $05055206; (* Flaps *)
- {$EXTERNALSYM DIAXIS_FLYINGM_FLAPS}
- DIBUTTON_FLYINGM_FLAPSUP = $05005407; (* Increment stepping up until fully retracted *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_FLAPSUP}
- DIBUTTON_FLYINGM_FLAPSDOWN = $05005408; (* Decrement stepping down until fully extended *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_FLAPSDOWN}
- DIBUTTON_FLYINGM_FIRESECONDARY = $05004C09; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_FIRESECONDARY}
- DIBUTTON_FLYINGM_GEAR = $0500640A; (* Gear up / down *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_GEAR}
- DIBUTTON_FLYINGM_BRAKE_LINK = $050464E0; (* Fallback brake button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_BRAKE_LINK}
- DIBUTTON_FLYINGM_FASTER_LINK = $0503D4E0; (* Fallback throttle up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_FASTER_LINK}
- DIBUTTON_FLYINGM_SLOWER_LINK = $0503D4E8; (* Fallback throttle down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_SLOWER_LINK}
- DIBUTTON_FLYINGM_GLANCE_LEFT_LINK = $0507C4E4; (* Fallback Glance Left button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_GLANCE_LEFT_LINK}
- DIBUTTON_FLYINGM_GLANCE_RIGHT_LINK = $0507C4EC; (* Fallback Glance Right button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_GLANCE_RIGHT_LINK}
- DIBUTTON_FLYINGM_GLANCE_UP_LINK = $0507C4E0; (* Fallback Glance Up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_GLANCE_UP_LINK}
- DIBUTTON_FLYINGM_GLANCE_DOWN_LINK = $0507C4E8; (* Fallback Glance Down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_GLANCE_DOWN_LINK}
- DIBUTTON_FLYINGM_DEVICE = $050044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_DEVICE}
- DIBUTTON_FLYINGM_PAUSE = $050044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FLYINGM_PAUSE}
- (*--- Flight Simulator - Combat Helicopter
- Combat from helicopter is primary objective ---*)
- DIVIRTUAL_FLYING_HELICOPTER = $06000000;
- {$EXTERNALSYM DIVIRTUAL_FLYING_HELICOPTER}
- DIAXIS_FLYINGH_BANK = $06008A01; (* Bank - Roll ship left / right *)
- {$EXTERNALSYM DIAXIS_FLYINGH_BANK}
- DIAXIS_FLYINGH_PITCH = $06010A02; (* Pitch - Nose up / down *)
- {$EXTERNALSYM DIAXIS_FLYINGH_PITCH}
- DIAXIS_FLYINGH_COLLECTIVE = $06018A03; (* Collective - Blade pitch/power *)
- {$EXTERNALSYM DIAXIS_FLYINGH_COLLECTIVE}
- DIBUTTON_FLYINGH_FIRE = $06001401; (* Fire *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_FIRE}
- DIBUTTON_FLYINGH_WEAPONS = $06001402; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_WEAPONS}
- DIBUTTON_FLYINGH_TARGET = $06001403; (* Selects next available target *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_TARGET}
- DIBUTTON_FLYINGH_MENU = $060004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_FLYINGH_GLANCE = $06004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_FLYINGH_GLANCE}
- DIAXIS_FLYINGH_TORQUE = $06025A04; (* Torque - Rotate ship around left / right axis *)
- {$EXTERNALSYM DIAXIS_FLYINGH_TORQUE}
- DIAXIS_FLYINGH_THROTTLE = $0603DA05; (* Throttle *)
- {$EXTERNALSYM DIAXIS_FLYINGH_THROTTLE}
- DIBUTTON_FLYINGH_COUNTER = $06005404; (* Activate counter measures *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_COUNTER}
- DIBUTTON_FLYINGH_VIEW = $06006405; (* Cycle through view options *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_VIEW}
- DIBUTTON_FLYINGH_GEAR = $06006406; (* Gear up / down *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_GEAR}
- DIBUTTON_FLYINGH_FIRESECONDARY = $06004C07; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_FIRESECONDARY}
- DIBUTTON_FLYINGH_FASTER_LINK = $0603DCE0; (* Fallback throttle up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_FASTER_LINK}
- DIBUTTON_FLYINGH_SLOWER_LINK = $0603DCE8; (* Fallback throttle down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_SLOWER_LINK}
- DIBUTTON_FLYINGH_GLANCE_LEFT_LINK = $0607C4E4; (* Fallback Glance Left button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_GLANCE_LEFT_LINK}
- DIBUTTON_FLYINGH_GLANCE_RIGHT_LINK = $0607C4EC; (* Fallback Glance Right button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_GLANCE_RIGHT_LINK}
- DIBUTTON_FLYINGH_GLANCE_UP_LINK = $0607C4E0; (* Fallback Glance Up button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_GLANCE_UP_LINK}
- DIBUTTON_FLYINGH_GLANCE_DOWN_LINK = $0607C4E8; (* Fallback Glance Down button *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_GLANCE_DOWN_LINK}
- DIBUTTON_FLYINGH_DEVICE = $060044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_DEVICE}
- DIBUTTON_FLYINGH_PAUSE = $060044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FLYINGH_PAUSE}
- (*--- Space Simulator - Combat
- Space Simulator with weapons ---*)
- DIVIRTUAL_SPACESIM = $07000000;
- {$EXTERNALSYM DIVIRTUAL_SPACESIM}
- DIAXIS_SPACESIM_LATERAL = $07008201; (* Move ship left / right *)
- {$EXTERNALSYM DIAXIS_SPACESIM_LATERAL}
- DIAXIS_SPACESIM_MOVE = $07010202; (* Move ship forward/backward *)
- {$EXTERNALSYM DIAXIS_SPACESIM_MOVE}
- DIAXIS_SPACESIM_THROTTLE = $07038203; (* Throttle - Engine speed *)
- {$EXTERNALSYM DIAXIS_SPACESIM_THROTTLE}
- DIBUTTON_SPACESIM_FIRE = $07000401; (* Fire *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_FIRE}
- DIBUTTON_SPACESIM_WEAPONS = $07000402; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_WEAPONS}
- DIBUTTON_SPACESIM_TARGET = $07000403; (* Selects next available target *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_TARGET}
- DIBUTTON_SPACESIM_MENU = $070004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_SPACESIM_GLANCE = $07004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_SPACESIM_GLANCE}
- DIAXIS_SPACESIM_CLIMB = $0701C204; (* Climb - Pitch ship up/down *)
- {$EXTERNALSYM DIAXIS_SPACESIM_CLIMB}
- DIAXIS_SPACESIM_ROTATE = $07024205; (* Rotate - Turn ship left/right *)
- {$EXTERNALSYM DIAXIS_SPACESIM_ROTATE}
- DIBUTTON_SPACESIM_VIEW = $07004404; (* Cycle through view options *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_VIEW}
- DIBUTTON_SPACESIM_DISPLAY = $07004405; (* Select next dashboard / heads up display option *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_DISPLAY}
- DIBUTTON_SPACESIM_RAISE = $07004406; (* Raise ship while maintaining current pitch *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_RAISE}
- DIBUTTON_SPACESIM_LOWER = $07004407; (* Lower ship while maintaining current pitch *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_LOWER}
- DIBUTTON_SPACESIM_GEAR = $07004408; (* Gear up / down *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_GEAR}
- DIBUTTON_SPACESIM_FIRESECONDARY = $07004409; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_FIRESECONDARY}
- DIBUTTON_SPACESIM_LEFT_LINK = $0700C4E4; (* Fallback move left button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_LEFT_LINK}
- DIBUTTON_SPACESIM_RIGHT_LINK = $0700C4EC; (* Fallback move right button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_RIGHT_LINK}
- DIBUTTON_SPACESIM_FORWARD_LINK = $070144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_FORWARD_LINK}
- DIBUTTON_SPACESIM_BACKWARD_LINK = $070144E8; (* Fallback move backwards button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_BACKWARD_LINK}
- DIBUTTON_SPACESIM_FASTER_LINK = $0703C4E0; (* Fallback throttle up button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_FASTER_LINK}
- DIBUTTON_SPACESIM_SLOWER_LINK = $0703C4E8; (* Fallback throttle down button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_SLOWER_LINK}
- DIBUTTON_SPACESIM_TURN_LEFT_LINK = $070244E4; (* Fallback turn left button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_TURN_LEFT_LINK}
- DIBUTTON_SPACESIM_TURN_RIGHT_LINK = $070244EC; (* Fallback turn right button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_TURN_RIGHT_LINK}
- DIBUTTON_SPACESIM_GLANCE_LEFT_LINK = $0707C4E4; (* Fallback Glance Left button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_GLANCE_LEFT_LINK}
- DIBUTTON_SPACESIM_GLANCE_RIGHT_LINK = $0707C4EC; (* Fallback Glance Right button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_GLANCE_RIGHT_LINK}
- DIBUTTON_SPACESIM_GLANCE_UP_LINK = $0707C4E0; (* Fallback Glance Up button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_GLANCE_UP_LINK}
- DIBUTTON_SPACESIM_GLANCE_DOWN_LINK = $0707C4E8; (* Fallback Glance Down button *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_GLANCE_DOWN_LINK}
- DIBUTTON_SPACESIM_DEVICE = $070044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_DEVICE}
- DIBUTTON_SPACESIM_PAUSE = $070044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_SPACESIM_PAUSE}
- (*--- Fighting - First Person
- Hand to Hand combat is primary objective ---*)
- DIVIRTUAL_FIGHTING_HAND2HAND = $08000000;
- {$EXTERNALSYM DIVIRTUAL_FIGHTING_HAND2HAND}
- DIAXIS_FIGHTINGH_LATERAL = $08008201; (* Sidestep left/right *)
- {$EXTERNALSYM DIAXIS_FIGHTINGH_LATERAL}
- DIAXIS_FIGHTINGH_MOVE = $08010202; (* Move forward/backward *)
- {$EXTERNALSYM DIAXIS_FIGHTINGH_MOVE}
- DIBUTTON_FIGHTINGH_PUNCH = $08000401; (* Punch *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_PUNCH}
- DIBUTTON_FIGHTINGH_KICK = $08000402; (* Kick *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_KICK}
- DIBUTTON_FIGHTINGH_BLOCK = $08000403; (* Block *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_BLOCK}
- DIBUTTON_FIGHTINGH_CROUCH = $08000404; (* Crouch *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_CROUCH}
- DIBUTTON_FIGHTINGH_JUMP = $08000405; (* Jump *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_JUMP}
- DIBUTTON_FIGHTINGH_SPECIAL1 = $08000406; (* Apply first special move *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_SPECIAL1}
- DIBUTTON_FIGHTINGH_SPECIAL2 = $08000407; (* Apply second special move *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_SPECIAL2}
- DIBUTTON_FIGHTINGH_MENU = $080004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_FIGHTINGH_SELECT = $08004408; (* Select special move *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_SELECT}
- DIHATSWITCH_FIGHTINGH_SLIDE = $08004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_FIGHTINGH_SLIDE}
- DIBUTTON_FIGHTINGH_DISPLAY = $08004409; (* Shows next on-screen display option *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_DISPLAY}
- DIAXIS_FIGHTINGH_ROTATE = $08024203; (* Rotate - Turn body left/right *)
- {$EXTERNALSYM DIAXIS_FIGHTINGH_ROTATE}
- DIBUTTON_FIGHTINGH_DODGE = $0800440A; (* Dodge *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_DODGE}
- DIBUTTON_FIGHTINGH_LEFT_LINK = $0800C4E4; (* Fallback left sidestep button *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_LEFT_LINK}
- DIBUTTON_FIGHTINGH_RIGHT_LINK = $0800C4EC; (* Fallback right sidestep button *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_RIGHT_LINK}
- DIBUTTON_FIGHTINGH_FORWARD_LINK = $080144E0; (* Fallback forward button *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_FORWARD_LINK}
- DIBUTTON_FIGHTINGH_BACKWARD_LINK = $080144E8; (* Fallback backward button *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_BACKWARD_LINK}
- DIBUTTON_FIGHTINGH_DEVICE = $080044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_DEVICE}
- DIBUTTON_FIGHTINGH_PAUSE = $080044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FIGHTINGH_PAUSE}
- (*--- Fighting - First Person Shooting
- Navigation and combat are primary objectives ---*)
- DIVIRTUAL_FIGHTING_FPS = $09000000;
- {$EXTERNALSYM DIVIRTUAL_FIGHTING_FPS}
- DIAXIS_FPS_ROTATE = $09008201; (* Rotate character left/right *)
- {$EXTERNALSYM DIAXIS_FPS_ROTATE}
- DIAXIS_FPS_MOVE = $09010202; (* Move forward/backward *)
- {$EXTERNALSYM DIAXIS_FPS_MOVE}
- DIBUTTON_FPS_FIRE = $09000401; (* Fire *)
- {$EXTERNALSYM DIBUTTON_FPS_FIRE}
- DIBUTTON_FPS_WEAPONS = $09000402; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_FPS_WEAPONS}
- DIBUTTON_FPS_APPLY = $09000403; (* Use item *)
- {$EXTERNALSYM DIBUTTON_FPS_APPLY}
- DIBUTTON_FPS_SELECT = $09000404; (* Select next inventory item *)
- {$EXTERNALSYM DIBUTTON_FPS_SELECT}
- DIBUTTON_FPS_CROUCH = $09000405; (* Crouch/ climb down/ swim down *)
- {$EXTERNALSYM DIBUTTON_FPS_CROUCH}
- DIBUTTON_FPS_JUMP = $09000406; (* Jump/ climb up/ swim up *)
- {$EXTERNALSYM DIBUTTON_FPS_JUMP}
- DIAXIS_FPS_LOOKUPDOWN = $09018203; (* Look up / down *)
- {$EXTERNALSYM DIAXIS_FPS_LOOKUPDOWN}
- DIBUTTON_FPS_STRAFE = $09000407; (* Enable strafing while active *)
- {$EXTERNALSYM DIBUTTON_FPS_STRAFE}
- DIBUTTON_FPS_MENU = $090004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FPS_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_FPS_GLANCE = $09004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_FPS_GLANCE}
- DIBUTTON_FPS_DISPLAY = $09004408; (* Shows next on-screen display option/ map *)
- {$EXTERNALSYM DIBUTTON_FPS_DISPLAY}
- DIAXIS_FPS_SIDESTEP = $09024204; (* Sidestep *)
- {$EXTERNALSYM DIAXIS_FPS_SIDESTEP}
- DIBUTTON_FPS_DODGE = $09004409; (* Dodge *)
- {$EXTERNALSYM DIBUTTON_FPS_DODGE}
- DIBUTTON_FPS_GLANCEL = $0900440A; (* Glance Left *)
- {$EXTERNALSYM DIBUTTON_FPS_GLANCEL}
- DIBUTTON_FPS_GLANCER = $0900440B; (* Glance Right *)
- {$EXTERNALSYM DIBUTTON_FPS_GLANCER}
- DIBUTTON_FPS_FIRESECONDARY = $0900440C; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_FPS_FIRESECONDARY}
- DIBUTTON_FPS_ROTATE_LEFT_LINK = $0900C4E4; (* Fallback rotate left button *)
- {$EXTERNALSYM DIBUTTON_FPS_ROTATE_LEFT_LINK}
- DIBUTTON_FPS_ROTATE_RIGHT_LINK = $0900C4EC; (* Fallback rotate right button *)
- {$EXTERNALSYM DIBUTTON_FPS_ROTATE_RIGHT_LINK}
- DIBUTTON_FPS_FORWARD_LINK = $090144E0; (* Fallback forward button *)
- {$EXTERNALSYM DIBUTTON_FPS_FORWARD_LINK}
- DIBUTTON_FPS_BACKWARD_LINK = $090144E8; (* Fallback backward button *)
- {$EXTERNALSYM DIBUTTON_FPS_BACKWARD_LINK}
- DIBUTTON_FPS_GLANCE_UP_LINK = $0901C4E0; (* Fallback look up button *)
- {$EXTERNALSYM DIBUTTON_FPS_GLANCE_UP_LINK}
- DIBUTTON_FPS_GLANCE_DOWN_LINK = $0901C4E8; (* Fallback look down button *)
- {$EXTERNALSYM DIBUTTON_FPS_GLANCE_DOWN_LINK}
- DIBUTTON_FPS_STEP_LEFT_LINK = $090244E4; (* Fallback step left button *)
- {$EXTERNALSYM DIBUTTON_FPS_STEP_LEFT_LINK}
- DIBUTTON_FPS_STEP_RIGHT_LINK = $090244EC; (* Fallback step right button *)
- {$EXTERNALSYM DIBUTTON_FPS_STEP_RIGHT_LINK}
- DIBUTTON_FPS_DEVICE = $090044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FPS_DEVICE}
- DIBUTTON_FPS_PAUSE = $090044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FPS_PAUSE}
- (*--- Fighting - Third Person action
- Perspective of camera is behind the main character ---*)
- DIVIRTUAL_FIGHTING_THIRDPERSON = $0A000000;
- {$EXTERNALSYM DIVIRTUAL_FIGHTING_THIRDPERSON}
- DIAXIS_TPS_TURN = $0A020201; (* Turn left/right *)
- {$EXTERNALSYM DIAXIS_TPS_TURN}
- DIAXIS_TPS_MOVE = $0A010202; (* Move forward/backward *)
- {$EXTERNALSYM DIAXIS_TPS_MOVE}
- DIBUTTON_TPS_RUN = $0A000401; (* Run or walk toggle switch *)
- {$EXTERNALSYM DIBUTTON_TPS_RUN}
- DIBUTTON_TPS_ACTION = $0A000402; (* Action Button *)
- {$EXTERNALSYM DIBUTTON_TPS_ACTION}
- DIBUTTON_TPS_SELECT = $0A000403; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_TPS_SELECT}
- DIBUTTON_TPS_USE = $0A000404; (* Use inventory item currently selected *)
- {$EXTERNALSYM DIBUTTON_TPS_USE}
- DIBUTTON_TPS_JUMP = $0A000405; (* Character Jumps *)
- {$EXTERNALSYM DIBUTTON_TPS_JUMP}
- DIBUTTON_TPS_MENU = $0A0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_TPS_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_TPS_GLANCE = $0A004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_TPS_GLANCE}
- DIBUTTON_TPS_VIEW = $0A004406; (* Select camera view *)
- {$EXTERNALSYM DIBUTTON_TPS_VIEW}
- DIBUTTON_TPS_STEPLEFT = $0A004407; (* Character takes a left step *)
- {$EXTERNALSYM DIBUTTON_TPS_STEPLEFT}
- DIBUTTON_TPS_STEPRIGHT = $0A004408; (* Character takes a right step *)
- {$EXTERNALSYM DIBUTTON_TPS_STEPRIGHT}
- DIAXIS_TPS_STEP = $0A00C203; (* Character steps left/right *)
- {$EXTERNALSYM DIAXIS_TPS_STEP}
- DIBUTTON_TPS_DODGE = $0A004409; (* Character dodges or ducks *)
- {$EXTERNALSYM DIBUTTON_TPS_DODGE}
- DIBUTTON_TPS_INVENTORY = $0A00440A; (* Cycle through inventory *)
- {$EXTERNALSYM DIBUTTON_TPS_INVENTORY}
- DIBUTTON_TPS_TURN_LEFT_LINK = $0A0244E4; (* Fallback turn left button *)
- {$EXTERNALSYM DIBUTTON_TPS_TURN_LEFT_LINK}
- DIBUTTON_TPS_TURN_RIGHT_LINK = $0A0244EC; (* Fallback turn right button *)
- {$EXTERNALSYM DIBUTTON_TPS_TURN_RIGHT_LINK}
- DIBUTTON_TPS_FORWARD_LINK = $0A0144E0; (* Fallback forward button *)
- {$EXTERNALSYM DIBUTTON_TPS_FORWARD_LINK}
- DIBUTTON_TPS_BACKWARD_LINK = $0A0144E8; (* Fallback backward button *)
- {$EXTERNALSYM DIBUTTON_TPS_BACKWARD_LINK}
- DIBUTTON_TPS_GLANCE_UP_LINK = $0A07C4E0; (* Fallback look up button *)
- {$EXTERNALSYM DIBUTTON_TPS_GLANCE_UP_LINK}
- DIBUTTON_TPS_GLANCE_DOWN_LINK = $0A07C4E8; (* Fallback look down button *)
- {$EXTERNALSYM DIBUTTON_TPS_GLANCE_DOWN_LINK}
- DIBUTTON_TPS_GLANCE_LEFT_LINK = $0A07C4E4; (* Fallback glance up button *)
- {$EXTERNALSYM DIBUTTON_TPS_GLANCE_LEFT_LINK}
- DIBUTTON_TPS_GLANCE_RIGHT_LINK = $0A07C4EC; (* Fallback glance right button *)
- {$EXTERNALSYM DIBUTTON_TPS_GLANCE_RIGHT_LINK}
- DIBUTTON_TPS_DEVICE = $0A0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_TPS_DEVICE}
- DIBUTTON_TPS_PAUSE = $0A0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_TPS_PAUSE}
- (*--- Strategy - Role Playing
- Navigation and problem solving are primary actions ---*)
- DIVIRTUAL_STRATEGY_ROLEPLAYING = $0B000000;
- {$EXTERNALSYM DIVIRTUAL_STRATEGY_ROLEPLAYING}
- DIAXIS_STRATEGYR_LATERAL = $0B008201; (* sidestep - left/right *)
- {$EXTERNALSYM DIAXIS_STRATEGYR_LATERAL}
- DIAXIS_STRATEGYR_MOVE = $0B010202; (* move forward/backward *)
- {$EXTERNALSYM DIAXIS_STRATEGYR_MOVE}
- DIBUTTON_STRATEGYR_GET = $0B000401; (* Acquire item *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_GET}
- DIBUTTON_STRATEGYR_APPLY = $0B000402; (* Use selected item *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_APPLY}
- DIBUTTON_STRATEGYR_SELECT = $0B000403; (* Select nextitem *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_SELECT}
- DIBUTTON_STRATEGYR_ATTACK = $0B000404; (* Attack *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_ATTACK}
- DIBUTTON_STRATEGYR_CAST = $0B000405; (* Cast Spell *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_CAST}
- DIBUTTON_STRATEGYR_CROUCH = $0B000406; (* Crouch *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_CROUCH}
- DIBUTTON_STRATEGYR_JUMP = $0B000407; (* Jump *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_JUMP}
- DIBUTTON_STRATEGYR_MENU = $0B0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_STRATEGYR_GLANCE = $0B004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_STRATEGYR_GLANCE}
- DIBUTTON_STRATEGYR_MAP = $0B004408; (* Cycle through map options *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_MAP}
- DIBUTTON_STRATEGYR_DISPLAY = $0B004409; (* Shows next on-screen display option *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_DISPLAY}
- DIAXIS_STRATEGYR_ROTATE = $0B024203; (* Turn body left/right *)
- {$EXTERNALSYM DIAXIS_STRATEGYR_ROTATE}
- DIBUTTON_STRATEGYR_LEFT_LINK = $0B00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_LEFT_LINK}
- DIBUTTON_STRATEGYR_RIGHT_LINK = $0B00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_RIGHT_LINK}
- DIBUTTON_STRATEGYR_FORWARD_LINK = $0B0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_FORWARD_LINK}
- DIBUTTON_STRATEGYR_BACK_LINK = $0B0144E8; (* Fallback move backward button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_BACK_LINK}
- DIBUTTON_STRATEGYR_ROTATE_LEFT_LINK = $0B0244E4; (* Fallback turn body left button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_ROTATE_LEFT_LINK}
- DIBUTTON_STRATEGYR_ROTATE_RIGHT_LINK = $0B0244EC; (* Fallback turn body right button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_ROTATE_RIGHT_LINK}
- DIBUTTON_STRATEGYR_DEVICE = $0B0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_DEVICE}
- DIBUTTON_STRATEGYR_PAUSE = $0B0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_STRATEGYR_PAUSE}
- (*--- Strategy - Turn based
- Navigation and problem solving are primary actions ---*)
- DIVIRTUAL_STRATEGY_TURN = $0C000000;
- {$EXTERNALSYM DIVIRTUAL_STRATEGY_TURN}
- DIAXIS_STRATEGYT_LATERAL = $0C008201; (* Sidestep left/right *)
- {$EXTERNALSYM DIAXIS_STRATEGYT_LATERAL}
- DIAXIS_STRATEGYT_MOVE = $0C010202; (* Move forward/backwards *)
- {$EXTERNALSYM DIAXIS_STRATEGYT_MOVE}
- DIBUTTON_STRATEGYT_SELECT = $0C000401; (* Select unit or object *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_SELECT}
- DIBUTTON_STRATEGYT_INSTRUCT = $0C000402; (* Cycle through instructions *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_INSTRUCT}
- DIBUTTON_STRATEGYT_APPLY = $0C000403; (* Apply selected instruction *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_APPLY}
- DIBUTTON_STRATEGYT_TEAM = $0C000404; (* Select next team / cycle through all *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_TEAM}
- DIBUTTON_STRATEGYT_TURN = $0C000405; (* Indicate turn over *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_TURN}
- DIBUTTON_STRATEGYT_MENU = $0C0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_STRATEGYT_ZOOM = $0C004406; (* Zoom - in / out *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_ZOOM}
- DIBUTTON_STRATEGYT_MAP = $0C004407; (* cycle through map options *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_MAP}
- DIBUTTON_STRATEGYT_DISPLAY = $0C004408; (* shows next on-screen display options *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_DISPLAY}
- DIBUTTON_STRATEGYT_LEFT_LINK = $0C00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_LEFT_LINK}
- DIBUTTON_STRATEGYT_RIGHT_LINK = $0C00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_RIGHT_LINK}
- DIBUTTON_STRATEGYT_FORWARD_LINK = $0C0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_FORWARD_LINK}
- DIBUTTON_STRATEGYT_BACK_LINK = $0C0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_BACK_LINK}
- DIBUTTON_STRATEGYT_DEVICE = $0C0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_DEVICE}
- DIBUTTON_STRATEGYT_PAUSE = $0C0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_STRATEGYT_PAUSE}
- (*--- Sports - Hunting
- Hunting ---*)
- DIVIRTUAL_SPORTS_HUNTING = $0D000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_HUNTING}
- DIAXIS_HUNTING_LATERAL = $0D008201; (* sidestep left/right *)
- {$EXTERNALSYM DIAXIS_HUNTING_LATERAL}
- DIAXIS_HUNTING_MOVE = $0D010202; (* move forward/backwards *)
- {$EXTERNALSYM DIAXIS_HUNTING_MOVE}
- DIBUTTON_HUNTING_FIRE = $0D000401; (* Fire selected weapon *)
- {$EXTERNALSYM DIBUTTON_HUNTING_FIRE}
- DIBUTTON_HUNTING_AIM = $0D000402; (* Select aim/move *)
- {$EXTERNALSYM DIBUTTON_HUNTING_AIM}
- DIBUTTON_HUNTING_WEAPON = $0D000403; (* Select next weapon *)
- {$EXTERNALSYM DIBUTTON_HUNTING_WEAPON}
- DIBUTTON_HUNTING_BINOCULAR = $0D000404; (* Look through Binoculars *)
- {$EXTERNALSYM DIBUTTON_HUNTING_BINOCULAR}
- DIBUTTON_HUNTING_CALL = $0D000405; (* Make animal call *)
- {$EXTERNALSYM DIBUTTON_HUNTING_CALL}
- DIBUTTON_HUNTING_MAP = $0D000406; (* View Map *)
- {$EXTERNALSYM DIBUTTON_HUNTING_MAP}
- DIBUTTON_HUNTING_SPECIAL = $0D000407; (* Special game operation *)
- {$EXTERNALSYM DIBUTTON_HUNTING_SPECIAL}
- DIBUTTON_HUNTING_MENU = $0D0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_HUNTING_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_HUNTING_GLANCE = $0D004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_HUNTING_GLANCE}
- DIBUTTON_HUNTING_DISPLAY = $0D004408; (* show next on-screen display option *)
- {$EXTERNALSYM DIBUTTON_HUNTING_DISPLAY}
- DIAXIS_HUNTING_ROTATE = $0D024203; (* Turn body left/right *)
- {$EXTERNALSYM DIAXIS_HUNTING_ROTATE}
- DIBUTTON_HUNTING_CROUCH = $0D004409; (* Crouch/ Climb / Swim down *)
- {$EXTERNALSYM DIBUTTON_HUNTING_CROUCH}
- DIBUTTON_HUNTING_JUMP = $0D00440A; (* Jump/ Climb up / Swim up *)
- {$EXTERNALSYM DIBUTTON_HUNTING_JUMP}
- DIBUTTON_HUNTING_FIRESECONDARY = $0D00440B; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_FIRESECONDARY}
- DIBUTTON_HUNTING_LEFT_LINK = $0D00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_LEFT_LINK}
- DIBUTTON_HUNTING_RIGHT_LINK = $0D00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_RIGHT_LINK}
- DIBUTTON_HUNTING_FORWARD_LINK = $0D0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_FORWARD_LINK}
- DIBUTTON_HUNTING_BACK_LINK = $0D0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_BACK_LINK}
- DIBUTTON_HUNTING_ROTATE_LEFT_LINK = $0D0244E4; (* Fallback turn body left button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_ROTATE_LEFT_LINK}
- DIBUTTON_HUNTING_ROTATE_RIGHT_LINK = $0D0244EC; (* Fallback turn body right button *)
- {$EXTERNALSYM DIBUTTON_HUNTING_ROTATE_RIGHT_LINK}
- DIBUTTON_HUNTING_DEVICE = $0D0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_HUNTING_DEVICE}
- DIBUTTON_HUNTING_PAUSE = $0D0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_HUNTING_PAUSE}
- (*--- Sports - Fishing
- Catching Fish is primary objective ---*)
- DIVIRTUAL_SPORTS_FISHING = $0E000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_FISHING}
- DIAXIS_FISHING_LATERAL = $0E008201; (* sidestep left/right *)
- {$EXTERNALSYM DIAXIS_FISHING_LATERAL}
- DIAXIS_FISHING_MOVE = $0E010202; (* move forward/backwards *)
- {$EXTERNALSYM DIAXIS_FISHING_MOVE}
- DIBUTTON_FISHING_CAST = $0E000401; (* Cast line *)
- {$EXTERNALSYM DIBUTTON_FISHING_CAST}
- DIBUTTON_FISHING_TYPE = $0E000402; (* Select cast type *)
- {$EXTERNALSYM DIBUTTON_FISHING_TYPE}
- DIBUTTON_FISHING_BINOCULAR = $0E000403; (* Look through Binocular *)
- {$EXTERNALSYM DIBUTTON_FISHING_BINOCULAR}
- DIBUTTON_FISHING_BAIT = $0E000404; (* Select type of Bait *)
- {$EXTERNALSYM DIBUTTON_FISHING_BAIT}
- DIBUTTON_FISHING_MAP = $0E000405; (* View Map *)
- {$EXTERNALSYM DIBUTTON_FISHING_MAP}
- DIBUTTON_FISHING_MENU = $0E0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FISHING_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_FISHING_GLANCE = $0E004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_FISHING_GLANCE}
- DIBUTTON_FISHING_DISPLAY = $0E004406; (* Show next on-screen display option *)
- {$EXTERNALSYM DIBUTTON_FISHING_DISPLAY}
- DIAXIS_FISHING_ROTATE = $0E024203; (* Turn character left / right *)
- {$EXTERNALSYM DIAXIS_FISHING_ROTATE}
- DIBUTTON_FISHING_CROUCH = $0E004407; (* Crouch/ Climb / Swim down *)
- {$EXTERNALSYM DIBUTTON_FISHING_CROUCH}
- DIBUTTON_FISHING_JUMP = $0E004408; (* Jump/ Climb up / Swim up *)
- {$EXTERNALSYM DIBUTTON_FISHING_JUMP}
- DIBUTTON_FISHING_LEFT_LINK = $0E00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_FISHING_LEFT_LINK}
- DIBUTTON_FISHING_RIGHT_LINK = $0E00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_FISHING_RIGHT_LINK}
- DIBUTTON_FISHING_FORWARD_LINK = $0E0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_FISHING_FORWARD_LINK}
- DIBUTTON_FISHING_BACK_LINK = $0E0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_FISHING_BACK_LINK}
- DIBUTTON_FISHING_ROTATE_LEFT_LINK = $0E0244E4; (* Fallback turn body left button *)
- {$EXTERNALSYM DIBUTTON_FISHING_ROTATE_LEFT_LINK}
- DIBUTTON_FISHING_ROTATE_RIGHT_LINK = $0E0244EC; (* Fallback turn body right button *)
- {$EXTERNALSYM DIBUTTON_FISHING_ROTATE_RIGHT_LINK}
- DIBUTTON_FISHING_DEVICE = $0E0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FISHING_DEVICE}
- DIBUTTON_FISHING_PAUSE = $0E0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FISHING_PAUSE}
- (*--- Sports - Baseball - Batting
- Batter control is primary objective ---*)
- DIVIRTUAL_SPORTS_BASEBALL_BAT = $0F000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BASEBALL_BAT}
- DIAXIS_BASEBALLB_LATERAL = $0F008201; (* Aim left / right *)
- {$EXTERNALSYM DIAXIS_BASEBALLB_LATERAL}
- DIAXIS_BASEBALLB_MOVE = $0F010202; (* Aim up / down *)
- {$EXTERNALSYM DIAXIS_BASEBALLB_MOVE}
- DIBUTTON_BASEBALLB_SELECT = $0F000401; (* cycle through swing options *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_SELECT}
- DIBUTTON_BASEBALLB_NORMAL = $0F000402; (* normal swing *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_NORMAL}
- DIBUTTON_BASEBALLB_POWER = $0F000403; (* swing for the fence *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_POWER}
- DIBUTTON_BASEBALLB_BUNT = $0F000404; (* bunt *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_BUNT}
- DIBUTTON_BASEBALLB_STEAL = $0F000405; (* Base runner attempts to steal a base *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_STEAL}
- DIBUTTON_BASEBALLB_BURST = $0F000406; (* Base runner invokes burst of speed *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_BURST}
- DIBUTTON_BASEBALLB_SLIDE = $0F000407; (* Base runner slides into base *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_SLIDE}
- DIBUTTON_BASEBALLB_CONTACT = $0F000408; (* Contact swing *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_CONTACT}
- DIBUTTON_BASEBALLB_MENU = $0F0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_BASEBALLB_NOSTEAL = $0F004409; (* Base runner goes back to a base *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_NOSTEAL}
- DIBUTTON_BASEBALLB_BOX = $0F00440A; (* Enter or exit batting box *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_BOX}
- DIBUTTON_BASEBALLB_LEFT_LINK = $0F00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_LEFT_LINK}
- DIBUTTON_BASEBALLB_RIGHT_LINK = $0F00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_RIGHT_LINK}
- DIBUTTON_BASEBALLB_FORWARD_LINK = $0F0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_FORWARD_LINK}
- DIBUTTON_BASEBALLB_BACK_LINK = $0F0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_BACK_LINK}
- DIBUTTON_BASEBALLB_DEVICE = $0F0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_DEVICE}
- DIBUTTON_BASEBALLB_PAUSE = $0F0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BASEBALLB_PAUSE}
- (*--- Sports - Baseball - Pitching
- Pitcher control is primary objective ---*)
- DIVIRTUAL_SPORTS_BASEBALL_PITCH = $10000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BASEBALL_PITCH}
- DIAXIS_BASEBALLP_LATERAL = $10008201; (* Aim left / right *)
- {$EXTERNALSYM DIAXIS_BASEBALLP_LATERAL}
- DIAXIS_BASEBALLP_MOVE = $10010202; (* Aim up / down *)
- {$EXTERNALSYM DIAXIS_BASEBALLP_MOVE}
- DIBUTTON_BASEBALLP_SELECT = $10000401; (* cycle through pitch selections *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_SELECT}
- DIBUTTON_BASEBALLP_PITCH = $10000402; (* throw pitch *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_PITCH}
- DIBUTTON_BASEBALLP_BASE = $10000403; (* select base to throw to *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_BASE}
- DIBUTTON_BASEBALLP_THROW = $10000404; (* throw to base *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_THROW}
- DIBUTTON_BASEBALLP_FAKE = $10000405; (* Fake a throw to a base *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_FAKE}
- DIBUTTON_BASEBALLP_MENU = $100004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_BASEBALLP_WALK = $10004406; (* Throw intentional walk / pitch out *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_WALK}
- DIBUTTON_BASEBALLP_LOOK = $10004407; (* Look at runners on bases *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_LOOK}
- DIBUTTON_BASEBALLP_LEFT_LINK = $1000C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_LEFT_LINK}
- DIBUTTON_BASEBALLP_RIGHT_LINK = $1000C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_RIGHT_LINK}
- DIBUTTON_BASEBALLP_FORWARD_LINK = $100144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_FORWARD_LINK}
- DIBUTTON_BASEBALLP_BACK_LINK = $100144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_BACK_LINK}
- DIBUTTON_BASEBALLP_DEVICE = $100044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_DEVICE}
- DIBUTTON_BASEBALLP_PAUSE = $100044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BASEBALLP_PAUSE}
- (*--- Sports - Baseball - Fielding
- Fielder control is primary objective ---*)
- DIVIRTUAL_SPORTS_BASEBALL_FIELD = $11000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BASEBALL_FIELD}
- DIAXIS_BASEBALLF_LATERAL = $11008201; (* Aim left / right *)
- {$EXTERNALSYM DIAXIS_BASEBALLF_LATERAL}
- DIAXIS_BASEBALLF_MOVE = $11010202; (* Aim up / down *)
- {$EXTERNALSYM DIAXIS_BASEBALLF_MOVE}
- DIBUTTON_BASEBALLF_NEAREST = $11000401; (* Switch to fielder nearest to the ball *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_NEAREST}
- DIBUTTON_BASEBALLF_THROW1 = $11000402; (* Make conservative throw *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_THROW1}
- DIBUTTON_BASEBALLF_THROW2 = $11000403; (* Make aggressive throw *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_THROW2}
- DIBUTTON_BASEBALLF_BURST = $11000404; (* Invoke burst of speed *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_BURST}
- DIBUTTON_BASEBALLF_JUMP = $11000405; (* Jump to catch ball *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_JUMP}
- DIBUTTON_BASEBALLF_DIVE = $11000406; (* Dive to catch ball *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_DIVE}
- DIBUTTON_BASEBALLF_MENU = $110004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_BASEBALLF_SHIFTIN = $11004407; (* Shift the infield positioning *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_SHIFTIN}
- DIBUTTON_BASEBALLF_SHIFTOUT = $11004408; (* Shift the outfield positioning *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_SHIFTOUT}
- DIBUTTON_BASEBALLF_AIM_LEFT_LINK = $1100C4E4; (* Fallback aim left button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_AIM_LEFT_LINK}
- DIBUTTON_BASEBALLF_AIM_RIGHT_LINK = $1100C4EC; (* Fallback aim right button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_AIM_RIGHT_LINK}
- DIBUTTON_BASEBALLF_FORWARD_LINK = $110144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_FORWARD_LINK}
- DIBUTTON_BASEBALLF_BACK_LINK = $110144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_BACK_LINK}
- DIBUTTON_BASEBALLF_DEVICE = $110044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_DEVICE}
- DIBUTTON_BASEBALLF_PAUSE = $110044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BASEBALLF_PAUSE}
- (*--- Sports - Basketball - Offense
- Offense ---*)
- DIVIRTUAL_SPORTS_BASKETBALL_OFFENSE = $12000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BASKETBALL_OFFENSE}
- DIAXIS_BBALLO_LATERAL = $12008201; (* left / right *)
- {$EXTERNALSYM DIAXIS_BBALLO_LATERAL}
- DIAXIS_BBALLO_MOVE = $12010202; (* up / down *)
- {$EXTERNALSYM DIAXIS_BBALLO_MOVE}
- DIBUTTON_BBALLO_SHOOT = $12000401; (* shoot basket *)
- {$EXTERNALSYM DIBUTTON_BBALLO_SHOOT}
- DIBUTTON_BBALLO_DUNK = $12000402; (* dunk basket *)
- {$EXTERNALSYM DIBUTTON_BBALLO_DUNK}
- DIBUTTON_BBALLO_PASS = $12000403; (* throw pass *)
- {$EXTERNALSYM DIBUTTON_BBALLO_PASS}
- DIBUTTON_BBALLO_FAKE = $12000404; (* fake shot or pass *)
- {$EXTERNALSYM DIBUTTON_BBALLO_FAKE}
- DIBUTTON_BBALLO_SPECIAL = $12000405; (* apply special move *)
- {$EXTERNALSYM DIBUTTON_BBALLO_SPECIAL}
- DIBUTTON_BBALLO_PLAYER = $12000406; (* select next player *)
- {$EXTERNALSYM DIBUTTON_BBALLO_PLAYER}
- DIBUTTON_BBALLO_BURST = $12000407; (* invoke burst *)
- {$EXTERNALSYM DIBUTTON_BBALLO_BURST}
- DIBUTTON_BBALLO_CALL = $12000408; (* call for ball / pass to me *)
- {$EXTERNALSYM DIBUTTON_BBALLO_CALL}
- DIBUTTON_BBALLO_MENU = $120004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BBALLO_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_BBALLO_GLANCE = $12004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_BBALLO_GLANCE}
- DIBUTTON_BBALLO_SCREEN = $12004409; (* Call for screen *)
- {$EXTERNALSYM DIBUTTON_BBALLO_SCREEN}
- DIBUTTON_BBALLO_PLAY = $1200440A; (* Call for specific offensive play *)
- {$EXTERNALSYM DIBUTTON_BBALLO_PLAY}
- DIBUTTON_BBALLO_JAB = $1200440B; (* Initiate fake drive to basket *)
- {$EXTERNALSYM DIBUTTON_BBALLO_JAB}
- DIBUTTON_BBALLO_POST = $1200440C; (* Perform post move *)
- {$EXTERNALSYM DIBUTTON_BBALLO_POST}
- DIBUTTON_BBALLO_TIMEOUT = $1200440D; (* Time Out *)
- {$EXTERNALSYM DIBUTTON_BBALLO_TIMEOUT}
- DIBUTTON_BBALLO_SUBSTITUTE = $1200440E; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_BBALLO_SUBSTITUTE}
- DIBUTTON_BBALLO_LEFT_LINK = $1200C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_BBALLO_LEFT_LINK}
- DIBUTTON_BBALLO_RIGHT_LINK = $1200C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_BBALLO_RIGHT_LINK}
- DIBUTTON_BBALLO_FORWARD_LINK = $120144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_BBALLO_FORWARD_LINK}
- DIBUTTON_BBALLO_BACK_LINK = $120144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_BBALLO_BACK_LINK}
- DIBUTTON_BBALLO_DEVICE = $120044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BBALLO_DEVICE}
- DIBUTTON_BBALLO_PAUSE = $120044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BBALLO_PAUSE}
- (*--- Sports - Basketball - Defense
- Defense ---*)
- DIVIRTUAL_SPORTS_BASKETBALL_DEFENSE = $13000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BASKETBALL_DEFENSE}
- DIAXIS_BBALLD_LATERAL = $13008201; (* left / right *)
- {$EXTERNALSYM DIAXIS_BBALLD_LATERAL}
- DIAXIS_BBALLD_MOVE = $13010202; (* up / down *)
- {$EXTERNALSYM DIAXIS_BBALLD_MOVE}
- DIBUTTON_BBALLD_JUMP = $13000401; (* jump to block shot *)
- {$EXTERNALSYM DIBUTTON_BBALLD_JUMP}
- DIBUTTON_BBALLD_STEAL = $13000402; (* attempt to steal ball *)
- {$EXTERNALSYM DIBUTTON_BBALLD_STEAL}
- DIBUTTON_BBALLD_FAKE = $13000403; (* fake block or steal *)
- {$EXTERNALSYM DIBUTTON_BBALLD_FAKE}
- DIBUTTON_BBALLD_SPECIAL = $13000404; (* apply special move *)
- {$EXTERNALSYM DIBUTTON_BBALLD_SPECIAL}
- DIBUTTON_BBALLD_PLAYER = $13000405; (* select next player *)
- {$EXTERNALSYM DIBUTTON_BBALLD_PLAYER}
- DIBUTTON_BBALLD_BURST = $13000406; (* invoke burst *)
- {$EXTERNALSYM DIBUTTON_BBALLD_BURST}
- DIBUTTON_BBALLD_PLAY = $13000407; (* call for specific defensive play *)
- {$EXTERNALSYM DIBUTTON_BBALLD_PLAY}
- DIBUTTON_BBALLD_MENU = $130004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BBALLD_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_BBALLD_GLANCE = $13004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_BBALLD_GLANCE}
- DIBUTTON_BBALLD_TIMEOUT = $13004408; (* Time Out *)
- {$EXTERNALSYM DIBUTTON_BBALLD_TIMEOUT}
- DIBUTTON_BBALLD_SUBSTITUTE = $13004409; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_BBALLD_SUBSTITUTE}
- DIBUTTON_BBALLD_LEFT_LINK = $1300C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_BBALLD_LEFT_LINK}
- DIBUTTON_BBALLD_RIGHT_LINK = $1300C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_BBALLD_RIGHT_LINK}
- DIBUTTON_BBALLD_FORWARD_LINK = $130144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_BBALLD_FORWARD_LINK}
- DIBUTTON_BBALLD_BACK_LINK = $130144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_BBALLD_BACK_LINK}
- DIBUTTON_BBALLD_DEVICE = $130044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BBALLD_DEVICE}
- DIBUTTON_BBALLD_PAUSE = $130044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BBALLD_PAUSE}
- (*--- Sports - Football - Play
- Play selection ---*)
- DIVIRTUAL_SPORTS_FOOTBALL_FIELD = $14000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_FOOTBALL_FIELD}
- DIBUTTON_FOOTBALLP_PLAY = $14000401; (* cycle through available plays *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_PLAY}
- DIBUTTON_FOOTBALLP_SELECT = $14000402; (* select play *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_SELECT}
- DIBUTTON_FOOTBALLP_HELP = $14000403; (* Bring up pop-up help *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_HELP}
- DIBUTTON_FOOTBALLP_MENU = $140004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_FOOTBALLP_DEVICE = $140044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_DEVICE}
- DIBUTTON_FOOTBALLP_PAUSE = $140044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLP_PAUSE}
- (*--- Sports - Football - QB
- Offense: Quarterback / Kicker ---*)
- DIVIRTUAL_SPORTS_FOOTBALL_QBCK = $15000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_FOOTBALL_QBCK}
- DIAXIS_FOOTBALLQ_LATERAL = $15008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_FOOTBALLQ_LATERAL}
- DIAXIS_FOOTBALLQ_MOVE = $15010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_FOOTBALLQ_MOVE}
- DIBUTTON_FOOTBALLQ_SELECT = $15000401; (* Select *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_SELECT}
- DIBUTTON_FOOTBALLQ_SNAP = $15000402; (* snap ball - start play *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_SNAP}
- DIBUTTON_FOOTBALLQ_JUMP = $15000403; (* jump over defender *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_JUMP}
- DIBUTTON_FOOTBALLQ_SLIDE = $15000404; (* Dive/Slide *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_SLIDE}
- DIBUTTON_FOOTBALLQ_PASS = $15000405; (* throws pass to receiver *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_PASS}
- DIBUTTON_FOOTBALLQ_FAKE = $15000406; (* pump fake pass or fake kick *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_FAKE}
- DIBUTTON_FOOTBALLQ_MENU = $150004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_FOOTBALLQ_FAKESNAP = $15004407; (* Fake snap *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_FAKESNAP}
- DIBUTTON_FOOTBALLQ_MOTION = $15004408; (* Send receivers in motion *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_MOTION}
- DIBUTTON_FOOTBALLQ_AUDIBLE = $15004409; (* Change offensive play at line of scrimmage *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_AUDIBLE}
- DIBUTTON_FOOTBALLQ_LEFT_LINK = $1500C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_LEFT_LINK}
- DIBUTTON_FOOTBALLQ_RIGHT_LINK = $1500C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_RIGHT_LINK}
- DIBUTTON_FOOTBALLQ_FORWARD_LINK = $150144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_FORWARD_LINK}
- DIBUTTON_FOOTBALLQ_BACK_LINK = $150144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_BACK_LINK}
- DIBUTTON_FOOTBALLQ_DEVICE = $150044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_DEVICE}
- DIBUTTON_FOOTBALLQ_PAUSE = $150044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLQ_PAUSE}
- (*--- Sports - Football - Offense
- Offense - Runner ---*)
- DIVIRTUAL_SPORTS_FOOTBALL_OFFENSE = $16000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_FOOTBALL_OFFENSE}
- DIAXIS_FOOTBALLO_LATERAL = $16008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_FOOTBALLO_LATERAL}
- DIAXIS_FOOTBALLO_MOVE = $16010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_FOOTBALLO_MOVE}
- DIBUTTON_FOOTBALLO_JUMP = $16000401; (* jump or hurdle over defender *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_JUMP}
- DIBUTTON_FOOTBALLO_LEFTARM = $16000402; (* holds out left arm *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_LEFTARM}
- DIBUTTON_FOOTBALLO_RIGHTARM = $16000403; (* holds out right arm *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_RIGHTARM}
- DIBUTTON_FOOTBALLO_THROW = $16000404; (* throw pass or lateral ball to another runner *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_THROW}
- DIBUTTON_FOOTBALLO_SPIN = $16000405; (* Spin to avoid defenders *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_SPIN}
- DIBUTTON_FOOTBALLO_MENU = $160004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_FOOTBALLO_JUKE = $16004406; (* Use special move to avoid defenders *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_JUKE}
- DIBUTTON_FOOTBALLO_SHOULDER = $16004407; (* Lower shoulder to run over defenders *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_SHOULDER}
- DIBUTTON_FOOTBALLO_TURBO = $16004408; (* Speed burst past defenders *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_TURBO}
- DIBUTTON_FOOTBALLO_DIVE = $16004409; (* Dive over defenders *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_DIVE}
- DIBUTTON_FOOTBALLO_ZOOM = $1600440A; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_ZOOM}
- DIBUTTON_FOOTBALLO_SUBSTITUTE = $1600440B; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_SUBSTITUTE}
- DIBUTTON_FOOTBALLO_LEFT_LINK = $1600C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_LEFT_LINK}
- DIBUTTON_FOOTBALLO_RIGHT_LINK = $1600C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_RIGHT_LINK}
- DIBUTTON_FOOTBALLO_FORWARD_LINK = $160144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_FORWARD_LINK}
- DIBUTTON_FOOTBALLO_BACK_LINK = $160144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_BACK_LINK}
- DIBUTTON_FOOTBALLO_DEVICE = $160044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_DEVICE}
- DIBUTTON_FOOTBALLO_PAUSE = $160044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLO_PAUSE}
- (*--- Sports - Football - Defense
- Defense ---*)
- DIVIRTUAL_SPORTS_FOOTBALL_DEFENSE = $17000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_FOOTBALL_DEFENSE}
- DIAXIS_FOOTBALLD_LATERAL = $17008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_FOOTBALLD_LATERAL}
- DIAXIS_FOOTBALLD_MOVE = $17010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_FOOTBALLD_MOVE}
- DIBUTTON_FOOTBALLD_PLAY = $17000401; (* cycle through available plays *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_PLAY}
- DIBUTTON_FOOTBALLD_SELECT = $17000402; (* select player closest to the ball *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_SELECT}
- DIBUTTON_FOOTBALLD_JUMP = $17000403; (* jump to intercept or block *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_JUMP}
- DIBUTTON_FOOTBALLD_TACKLE = $17000404; (* tackler runner *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_TACKLE}
- DIBUTTON_FOOTBALLD_FAKE = $17000405; (* hold down to fake tackle or intercept *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_FAKE}
- DIBUTTON_FOOTBALLD_SUPERTACKLE = $17000406; (* Initiate special tackle *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_SUPERTACKLE}
- DIBUTTON_FOOTBALLD_MENU = $170004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_FOOTBALLD_SPIN = $17004407; (* Spin to beat offensive line *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_SPIN}
- DIBUTTON_FOOTBALLD_SWIM = $17004408; (* Swim to beat the offensive line *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_SWIM}
- DIBUTTON_FOOTBALLD_BULLRUSH = $17004409; (* Bull rush the offensive line *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_BULLRUSH}
- DIBUTTON_FOOTBALLD_RIP = $1700440A; (* Rip the offensive line *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_RIP}
- DIBUTTON_FOOTBALLD_AUDIBLE = $1700440B; (* Change defensive play at the line of scrimmage *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_AUDIBLE}
- DIBUTTON_FOOTBALLD_ZOOM = $1700440C; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_ZOOM}
- DIBUTTON_FOOTBALLD_SUBSTITUTE = $1700440D; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_SUBSTITUTE}
- DIBUTTON_FOOTBALLD_LEFT_LINK = $1700C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_LEFT_LINK}
- DIBUTTON_FOOTBALLD_RIGHT_LINK = $1700C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_RIGHT_LINK}
- DIBUTTON_FOOTBALLD_FORWARD_LINK = $170144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_FORWARD_LINK}
- DIBUTTON_FOOTBALLD_BACK_LINK = $170144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_BACK_LINK}
- DIBUTTON_FOOTBALLD_DEVICE = $170044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_DEVICE}
- DIBUTTON_FOOTBALLD_PAUSE = $170044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_FOOTBALLD_PAUSE}
- (*--- Sports - Golf
- ---*)
- DIVIRTUAL_SPORTS_GOLF = $18000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_GOLF}
- DIAXIS_GOLF_LATERAL = $18008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_GOLF_LATERAL}
- DIAXIS_GOLF_MOVE = $18010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_GOLF_MOVE}
- DIBUTTON_GOLF_SWING = $18000401; (* swing club *)
- {$EXTERNALSYM DIBUTTON_GOLF_SWING}
- DIBUTTON_GOLF_SELECT = $18000402; (* cycle between: club / swing strength / ball arc / ball spin *)
- {$EXTERNALSYM DIBUTTON_GOLF_SELECT}
- DIBUTTON_GOLF_UP = $18000403; (* increase selection *)
- {$EXTERNALSYM DIBUTTON_GOLF_UP}
- DIBUTTON_GOLF_DOWN = $18000404; (* decrease selection *)
- {$EXTERNALSYM DIBUTTON_GOLF_DOWN}
- DIBUTTON_GOLF_TERRAIN = $18000405; (* shows terrain detail *)
- {$EXTERNALSYM DIBUTTON_GOLF_TERRAIN}
- DIBUTTON_GOLF_FLYBY = $18000406; (* view the hole via a flyby *)
- {$EXTERNALSYM DIBUTTON_GOLF_FLYBY}
- DIBUTTON_GOLF_MENU = $180004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_GOLF_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_GOLF_SCROLL = $18004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_GOLF_SCROLL}
- DIBUTTON_GOLF_ZOOM = $18004407; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_GOLF_ZOOM}
- DIBUTTON_GOLF_TIMEOUT = $18004408; (* Call for time out *)
- {$EXTERNALSYM DIBUTTON_GOLF_TIMEOUT}
- DIBUTTON_GOLF_SUBSTITUTE = $18004409; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_GOLF_SUBSTITUTE}
- DIBUTTON_GOLF_LEFT_LINK = $1800C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_GOLF_LEFT_LINK}
- DIBUTTON_GOLF_RIGHT_LINK = $1800C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_GOLF_RIGHT_LINK}
- DIBUTTON_GOLF_FORWARD_LINK = $180144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_GOLF_FORWARD_LINK}
- DIBUTTON_GOLF_BACK_LINK = $180144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_GOLF_BACK_LINK}
- DIBUTTON_GOLF_DEVICE = $180044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_GOLF_DEVICE}
- DIBUTTON_GOLF_PAUSE = $180044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_GOLF_PAUSE}
- (*--- Sports - Hockey - Offense
- Offense ---*)
- DIVIRTUAL_SPORTS_HOCKEY_OFFENSE = $19000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_HOCKEY_OFFENSE}
- DIAXIS_HOCKEYO_LATERAL = $19008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_HOCKEYO_LATERAL}
- DIAXIS_HOCKEYO_MOVE = $19010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_HOCKEYO_MOVE}
- DIBUTTON_HOCKEYO_SHOOT = $19000401; (* Shoot *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_SHOOT}
- DIBUTTON_HOCKEYO_PASS = $19000402; (* pass the puck *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_PASS}
- DIBUTTON_HOCKEYO_BURST = $19000403; (* invoke speed burst *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_BURST}
- DIBUTTON_HOCKEYO_SPECIAL = $19000404; (* invoke special move *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_SPECIAL}
- DIBUTTON_HOCKEYO_FAKE = $19000405; (* hold down to fake pass or kick *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_FAKE}
- DIBUTTON_HOCKEYO_MENU = $190004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_HOCKEYO_SCROLL = $19004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_HOCKEYO_SCROLL}
- DIBUTTON_HOCKEYO_ZOOM = $19004406; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_ZOOM}
- DIBUTTON_HOCKEYO_STRATEGY = $19004407; (* Invoke coaching menu for strategy help *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_STRATEGY}
- DIBUTTON_HOCKEYO_TIMEOUT = $19004408; (* Call for time out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_TIMEOUT}
- DIBUTTON_HOCKEYO_SUBSTITUTE = $19004409; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_SUBSTITUTE}
- DIBUTTON_HOCKEYO_LEFT_LINK = $1900C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_LEFT_LINK}
- DIBUTTON_HOCKEYO_RIGHT_LINK = $1900C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_RIGHT_LINK}
- DIBUTTON_HOCKEYO_FORWARD_LINK = $190144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_FORWARD_LINK}
- DIBUTTON_HOCKEYO_BACK_LINK = $190144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_BACK_LINK}
- DIBUTTON_HOCKEYO_DEVICE = $190044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_DEVICE}
- DIBUTTON_HOCKEYO_PAUSE = $190044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_HOCKEYO_PAUSE}
- (*--- Sports - Hockey - Defense
- Defense ---*)
- DIVIRTUAL_SPORTS_HOCKEY_DEFENSE = $1A000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_HOCKEY_DEFENSE}
- DIAXIS_HOCKEYD_LATERAL = $1A008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_HOCKEYD_LATERAL}
- DIAXIS_HOCKEYD_MOVE = $1A010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_HOCKEYD_MOVE}
- DIBUTTON_HOCKEYD_PLAYER = $1A000401; (* control player closest to the puck *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_PLAYER}
- DIBUTTON_HOCKEYD_STEAL = $1A000402; (* attempt steal *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_STEAL}
- DIBUTTON_HOCKEYD_BURST = $1A000403; (* speed burst or body check *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_BURST}
- DIBUTTON_HOCKEYD_BLOCK = $1A000404; (* block puck *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_BLOCK}
- DIBUTTON_HOCKEYD_FAKE = $1A000405; (* hold down to fake tackle or intercept *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_FAKE}
- DIBUTTON_HOCKEYD_MENU = $1A0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_HOCKEYD_SCROLL = $1A004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_HOCKEYD_SCROLL}
- DIBUTTON_HOCKEYD_ZOOM = $1A004406; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_ZOOM}
- DIBUTTON_HOCKEYD_STRATEGY = $1A004407; (* Invoke coaching menu for strategy help *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_STRATEGY}
- DIBUTTON_HOCKEYD_TIMEOUT = $1A004408; (* Call for time out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_TIMEOUT}
- DIBUTTON_HOCKEYD_SUBSTITUTE = $1A004409; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_SUBSTITUTE}
- DIBUTTON_HOCKEYD_LEFT_LINK = $1A00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_LEFT_LINK}
- DIBUTTON_HOCKEYD_RIGHT_LINK = $1A00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_RIGHT_LINK}
- DIBUTTON_HOCKEYD_FORWARD_LINK = $1A0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_FORWARD_LINK}
- DIBUTTON_HOCKEYD_BACK_LINK = $1A0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_BACK_LINK}
- DIBUTTON_HOCKEYD_DEVICE = $1A0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_DEVICE}
- DIBUTTON_HOCKEYD_PAUSE = $1A0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_HOCKEYD_PAUSE}
- (*--- Sports - Hockey - Goalie
- Goal tending ---*)
- DIVIRTUAL_SPORTS_HOCKEY_GOALIE = $1B000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_HOCKEY_GOALIE}
- DIAXIS_HOCKEYG_LATERAL = $1B008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_HOCKEYG_LATERAL}
- DIAXIS_HOCKEYG_MOVE = $1B010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_HOCKEYG_MOVE}
- DIBUTTON_HOCKEYG_PASS = $1B000401; (* pass puck *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_PASS}
- DIBUTTON_HOCKEYG_POKE = $1B000402; (* poke / check / hack *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_POKE}
- DIBUTTON_HOCKEYG_STEAL = $1B000403; (* attempt steal *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_STEAL}
- DIBUTTON_HOCKEYG_BLOCK = $1B000404; (* block puck *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_BLOCK}
- DIBUTTON_HOCKEYG_MENU = $1B0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_HOCKEYG_SCROLL = $1B004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_HOCKEYG_SCROLL}
- DIBUTTON_HOCKEYG_ZOOM = $1B004405; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_ZOOM}
- DIBUTTON_HOCKEYG_STRATEGY = $1B004406; (* Invoke coaching menu for strategy help *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_STRATEGY}
- DIBUTTON_HOCKEYG_TIMEOUT = $1B004407; (* Call for time out *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_TIMEOUT}
- DIBUTTON_HOCKEYG_SUBSTITUTE = $1B004408; (* substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_SUBSTITUTE}
- DIBUTTON_HOCKEYG_LEFT_LINK = $1B00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_LEFT_LINK}
- DIBUTTON_HOCKEYG_RIGHT_LINK = $1B00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_RIGHT_LINK}
- DIBUTTON_HOCKEYG_FORWARD_LINK = $1B0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_FORWARD_LINK}
- DIBUTTON_HOCKEYG_BACK_LINK = $1B0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_BACK_LINK}
- DIBUTTON_HOCKEYG_DEVICE = $1B0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_DEVICE}
- DIBUTTON_HOCKEYG_PAUSE = $1B0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_HOCKEYG_PAUSE}
- (*--- Sports - Mountain Biking
- ---*)
- DIVIRTUAL_SPORTS_BIKING_MOUNTAIN = $1C000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_BIKING_MOUNTAIN}
- DIAXIS_BIKINGM_TURN = $1C008201; (* left / right *)
- {$EXTERNALSYM DIAXIS_BIKINGM_TURN}
- DIAXIS_BIKINGM_PEDAL = $1C010202; (* Pedal faster / slower / brake *)
- {$EXTERNALSYM DIAXIS_BIKINGM_PEDAL}
- DIBUTTON_BIKINGM_JUMP = $1C000401; (* jump over obstacle *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_JUMP}
- DIBUTTON_BIKINGM_CAMERA = $1C000402; (* switch camera view *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_CAMERA}
- DIBUTTON_BIKINGM_SPECIAL1 = $1C000403; (* perform first special move *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_SPECIAL1}
- DIBUTTON_BIKINGM_SELECT = $1C000404; (* Select *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_SELECT}
- DIBUTTON_BIKINGM_SPECIAL2 = $1C000405; (* perform second special move *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_SPECIAL2}
- DIBUTTON_BIKINGM_MENU = $1C0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_BIKINGM_SCROLL = $1C004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_BIKINGM_SCROLL}
- DIBUTTON_BIKINGM_ZOOM = $1C004406; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_ZOOM}
- DIAXIS_BIKINGM_BRAKE = $1C044203; (* Brake axis *)
- {$EXTERNALSYM DIAXIS_BIKINGM_BRAKE}
- DIBUTTON_BIKINGM_LEFT_LINK = $1C00C4E4; (* Fallback turn left button *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_LEFT_LINK}
- DIBUTTON_BIKINGM_RIGHT_LINK = $1C00C4EC; (* Fallback turn right button *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_RIGHT_LINK}
- DIBUTTON_BIKINGM_FASTER_LINK = $1C0144E0; (* Fallback pedal faster button *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_FASTER_LINK}
- DIBUTTON_BIKINGM_SLOWER_LINK = $1C0144E8; (* Fallback pedal slower button *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_SLOWER_LINK}
- DIBUTTON_BIKINGM_BRAKE_BUTTON_LINK = $1C0444E8; (* Fallback brake button *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_BRAKE_BUTTON_LINK}
- DIBUTTON_BIKINGM_DEVICE = $1C0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_DEVICE}
- DIBUTTON_BIKINGM_PAUSE = $1C0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BIKINGM_PAUSE}
- (*--- Sports: Skiing / Snowboarding / Skateboarding
- ---*)
- DIVIRTUAL_SPORTS_SKIING = $1D000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_SKIING}
- DIAXIS_SKIING_TURN = $1D008201; (* left / right *)
- {$EXTERNALSYM DIAXIS_SKIING_TURN}
- DIAXIS_SKIING_SPEED = $1D010202; (* faster / slower *)
- {$EXTERNALSYM DIAXIS_SKIING_SPEED}
- DIBUTTON_SKIING_JUMP = $1D000401; (* Jump *)
- {$EXTERNALSYM DIBUTTON_SKIING_JUMP}
- DIBUTTON_SKIING_CROUCH = $1D000402; (* crouch down *)
- {$EXTERNALSYM DIBUTTON_SKIING_CROUCH}
- DIBUTTON_SKIING_CAMERA = $1D000403; (* switch camera view *)
- {$EXTERNALSYM DIBUTTON_SKIING_CAMERA}
- DIBUTTON_SKIING_SPECIAL1 = $1D000404; (* perform first special move *)
- {$EXTERNALSYM DIBUTTON_SKIING_SPECIAL1}
- DIBUTTON_SKIING_SELECT = $1D000405; (* Select *)
- {$EXTERNALSYM DIBUTTON_SKIING_SELECT}
- DIBUTTON_SKIING_SPECIAL2 = $1D000406; (* perform second special move *)
- {$EXTERNALSYM DIBUTTON_SKIING_SPECIAL2}
- DIBUTTON_SKIING_MENU = $1D0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_SKIING_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_SKIING_GLANCE = $1D004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_SKIING_GLANCE}
- DIBUTTON_SKIING_ZOOM = $1D004407; (* Zoom view in / out *)
- {$EXTERNALSYM DIBUTTON_SKIING_ZOOM}
- DIBUTTON_SKIING_LEFT_LINK = $1D00C4E4; (* Fallback turn left button *)
- {$EXTERNALSYM DIBUTTON_SKIING_LEFT_LINK}
- DIBUTTON_SKIING_RIGHT_LINK = $1D00C4EC; (* Fallback turn right button *)
- {$EXTERNALSYM DIBUTTON_SKIING_RIGHT_LINK}
- DIBUTTON_SKIING_FASTER_LINK = $1D0144E0; (* Fallback increase speed button *)
- {$EXTERNALSYM DIBUTTON_SKIING_FASTER_LINK}
- DIBUTTON_SKIING_SLOWER_LINK = $1D0144E8; (* Fallback decrease speed button *)
- {$EXTERNALSYM DIBUTTON_SKIING_SLOWER_LINK}
- DIBUTTON_SKIING_DEVICE = $1D0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_SKIING_DEVICE}
- DIBUTTON_SKIING_PAUSE = $1D0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_SKIING_PAUSE}
- (*--- Sports - Soccer - Offense
- Offense ---*)
- DIVIRTUAL_SPORTS_SOCCER_OFFENSE = $1E000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_SOCCER_OFFENSE}
- DIAXIS_SOCCERO_LATERAL = $1E008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_SOCCERO_LATERAL}
- DIAXIS_SOCCERO_MOVE = $1E010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_SOCCERO_MOVE}
- DIAXIS_SOCCERO_BEND = $1E018203; (* Bend to soccer shot/pass *)
- {$EXTERNALSYM DIAXIS_SOCCERO_BEND}
- DIBUTTON_SOCCERO_SHOOT = $1E000401; (* Shoot the ball *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SHOOT}
- DIBUTTON_SOCCERO_PASS = $1E000402; (* Pass *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_PASS}
- DIBUTTON_SOCCERO_FAKE = $1E000403; (* Fake *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_FAKE}
- DIBUTTON_SOCCERO_PLAYER = $1E000404; (* Select next player *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_PLAYER}
- DIBUTTON_SOCCERO_SPECIAL1 = $1E000405; (* Apply special move *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SPECIAL1}
- DIBUTTON_SOCCERO_SELECT = $1E000406; (* Select special move *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SELECT}
- DIBUTTON_SOCCERO_MENU = $1E0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_SOCCERO_GLANCE = $1E004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_SOCCERO_GLANCE}
- DIBUTTON_SOCCERO_SUBSTITUTE = $1E004407; (* Substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SUBSTITUTE}
- DIBUTTON_SOCCERO_SHOOTLOW = $1E004408; (* Shoot the ball low *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SHOOTLOW}
- DIBUTTON_SOCCERO_SHOOTHIGH = $1E004409; (* Shoot the ball high *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SHOOTHIGH}
- DIBUTTON_SOCCERO_PASSTHRU = $1E00440A; (* Make a thru pass *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_PASSTHRU}
- DIBUTTON_SOCCERO_SPRINT = $1E00440B; (* Sprint / turbo boost *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_SPRINT}
- DIBUTTON_SOCCERO_CONTROL = $1E00440C; (* Obtain control of the ball *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_CONTROL}
- DIBUTTON_SOCCERO_HEAD = $1E00440D; (* Attempt to head the ball *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_HEAD}
- DIBUTTON_SOCCERO_LEFT_LINK = $1E00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_LEFT_LINK}
- DIBUTTON_SOCCERO_RIGHT_LINK = $1E00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_RIGHT_LINK}
- DIBUTTON_SOCCERO_FORWARD_LINK = $1E0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_FORWARD_LINK}
- DIBUTTON_SOCCERO_BACK_LINK = $1E0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_BACK_LINK}
- DIBUTTON_SOCCERO_DEVICE = $1E0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_DEVICE}
- DIBUTTON_SOCCERO_PAUSE = $1E0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_SOCCERO_PAUSE}
- (*--- Sports - Soccer - Defense
- Defense ---*)
- DIVIRTUAL_SPORTS_SOCCER_DEFENSE = $1F000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_SOCCER_DEFENSE}
- DIAXIS_SOCCERD_LATERAL = $1F008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_SOCCERD_LATERAL}
- DIAXIS_SOCCERD_MOVE = $1F010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_SOCCERD_MOVE}
- DIBUTTON_SOCCERD_BLOCK = $1F000401; (* Attempt to block shot *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_BLOCK}
- DIBUTTON_SOCCERD_STEAL = $1F000402; (* Attempt to steal ball *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_STEAL}
- DIBUTTON_SOCCERD_FAKE = $1F000403; (* Fake a block or a steal *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_FAKE}
- DIBUTTON_SOCCERD_PLAYER = $1F000404; (* Select next player *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_PLAYER}
- DIBUTTON_SOCCERD_SPECIAL = $1F000405; (* Apply special move *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_SPECIAL}
- DIBUTTON_SOCCERD_SELECT = $1F000406; (* Select special move *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_SELECT}
- DIBUTTON_SOCCERD_SLIDE = $1F000407; (* Attempt a slide tackle *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_SLIDE}
- DIBUTTON_SOCCERD_MENU = $1F0004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_SOCCERD_GLANCE = $1F004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_SOCCERD_GLANCE}
- DIBUTTON_SOCCERD_FOUL = $1F004408; (* Initiate a foul / hard-foul *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_FOUL}
- DIBUTTON_SOCCERD_HEAD = $1F004409; (* Attempt a Header *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_HEAD}
- DIBUTTON_SOCCERD_CLEAR = $1F00440A; (* Attempt to clear the ball down the field *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_CLEAR}
- DIBUTTON_SOCCERD_GOALIECHARGE = $1F00440B; (* Make the goalie charge out of the box *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_GOALIECHARGE}
- DIBUTTON_SOCCERD_SUBSTITUTE = $1F00440C; (* Substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_SUBSTITUTE}
- DIBUTTON_SOCCERD_LEFT_LINK = $1F00C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_LEFT_LINK}
- DIBUTTON_SOCCERD_RIGHT_LINK = $1F00C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_RIGHT_LINK}
- DIBUTTON_SOCCERD_FORWARD_LINK = $1F0144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_FORWARD_LINK}
- DIBUTTON_SOCCERD_BACK_LINK = $1F0144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_BACK_LINK}
- DIBUTTON_SOCCERD_DEVICE = $1F0044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_DEVICE}
- DIBUTTON_SOCCERD_PAUSE = $1F0044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_SOCCERD_PAUSE}
- (*--- Sports - Racquet
- Tennis - Table-Tennis - Squash ---*)
- DIVIRTUAL_SPORTS_RACQUET = $20000000;
- {$EXTERNALSYM DIVIRTUAL_SPORTS_RACQUET}
- DIAXIS_RACQUET_LATERAL = $20008201; (* Move / Aim: left / right *)
- {$EXTERNALSYM DIAXIS_RACQUET_LATERAL}
- DIAXIS_RACQUET_MOVE = $20010202; (* Move / Aim: up / down *)
- {$EXTERNALSYM DIAXIS_RACQUET_MOVE}
- DIBUTTON_RACQUET_SWING = $20000401; (* Swing racquet *)
- {$EXTERNALSYM DIBUTTON_RACQUET_SWING}
- DIBUTTON_RACQUET_BACKSWING = $20000402; (* Swing backhand *)
- {$EXTERNALSYM DIBUTTON_RACQUET_BACKSWING}
- DIBUTTON_RACQUET_SMASH = $20000403; (* Smash shot *)
- {$EXTERNALSYM DIBUTTON_RACQUET_SMASH}
- DIBUTTON_RACQUET_SPECIAL = $20000404; (* Special shot *)
- {$EXTERNALSYM DIBUTTON_RACQUET_SPECIAL}
- DIBUTTON_RACQUET_SELECT = $20000405; (* Select special shot *)
- {$EXTERNALSYM DIBUTTON_RACQUET_SELECT}
- DIBUTTON_RACQUET_MENU = $200004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_RACQUET_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_RACQUET_GLANCE = $20004601; (* scroll view *)
- {$EXTERNALSYM DIHATSWITCH_RACQUET_GLANCE}
- DIBUTTON_RACQUET_TIMEOUT = $20004406; (* Call for time out *)
- {$EXTERNALSYM DIBUTTON_RACQUET_TIMEOUT}
- DIBUTTON_RACQUET_SUBSTITUTE = $20004407; (* Substitute one player for another *)
- {$EXTERNALSYM DIBUTTON_RACQUET_SUBSTITUTE}
- DIBUTTON_RACQUET_LEFT_LINK = $2000C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_RACQUET_LEFT_LINK}
- DIBUTTON_RACQUET_RIGHT_LINK = $2000C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_RACQUET_RIGHT_LINK}
- DIBUTTON_RACQUET_FORWARD_LINK = $200144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_RACQUET_FORWARD_LINK}
- DIBUTTON_RACQUET_BACK_LINK = $200144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_RACQUET_BACK_LINK}
- DIBUTTON_RACQUET_DEVICE = $200044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_RACQUET_DEVICE}
- DIBUTTON_RACQUET_PAUSE = $200044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_RACQUET_PAUSE}
- (*--- Arcade- 2D
- Side to Side movement ---*)
- DIVIRTUAL_ARCADE_SIDE2SIDE = $21000000;
- {$EXTERNALSYM DIVIRTUAL_ARCADE_SIDE2SIDE}
- DIAXIS_ARCADES_LATERAL = $21008201; (* left / right *)
- {$EXTERNALSYM DIAXIS_ARCADES_LATERAL}
- DIAXIS_ARCADES_MOVE = $21010202; (* up / down *)
- {$EXTERNALSYM DIAXIS_ARCADES_MOVE}
- DIBUTTON_ARCADES_THROW = $21000401; (* throw object *)
- {$EXTERNALSYM DIBUTTON_ARCADES_THROW}
- DIBUTTON_ARCADES_CARRY = $21000402; (* carry object *)
- {$EXTERNALSYM DIBUTTON_ARCADES_CARRY}
- DIBUTTON_ARCADES_ATTACK = $21000403; (* attack *)
- {$EXTERNALSYM DIBUTTON_ARCADES_ATTACK}
- DIBUTTON_ARCADES_SPECIAL = $21000404; (* apply special move *)
- {$EXTERNALSYM DIBUTTON_ARCADES_SPECIAL}
- DIBUTTON_ARCADES_SELECT = $21000405; (* select special move *)
- {$EXTERNALSYM DIBUTTON_ARCADES_SELECT}
- DIBUTTON_ARCADES_MENU = $210004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_ARCADES_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_ARCADES_VIEW = $21004601; (* scroll view left / right / up / down *)
- {$EXTERNALSYM DIHATSWITCH_ARCADES_VIEW}
- DIBUTTON_ARCADES_LEFT_LINK = $2100C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_LEFT_LINK}
- DIBUTTON_ARCADES_RIGHT_LINK = $2100C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_RIGHT_LINK}
- DIBUTTON_ARCADES_FORWARD_LINK = $210144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_FORWARD_LINK}
- DIBUTTON_ARCADES_BACK_LINK = $210144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_BACK_LINK}
- DIBUTTON_ARCADES_VIEW_UP_LINK = $2107C4E0; (* Fallback scroll view up button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_VIEW_UP_LINK}
- DIBUTTON_ARCADES_VIEW_DOWN_LINK = $2107C4E8; (* Fallback scroll view down button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_VIEW_DOWN_LINK}
- DIBUTTON_ARCADES_VIEW_LEFT_LINK = $2107C4E4; (* Fallback scroll view left button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_VIEW_LEFT_LINK}
- DIBUTTON_ARCADES_VIEW_RIGHT_LINK = $2107C4EC; (* Fallback scroll view right button *)
- {$EXTERNALSYM DIBUTTON_ARCADES_VIEW_RIGHT_LINK}
- DIBUTTON_ARCADES_DEVICE = $210044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_ARCADES_DEVICE}
- DIBUTTON_ARCADES_PAUSE = $210044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_ARCADES_PAUSE}
- (*--- Arcade - Platform Game
- Character moves around on screen ---*)
- DIVIRTUAL_ARCADE_PLATFORM = $22000000;
- {$EXTERNALSYM DIVIRTUAL_ARCADE_PLATFORM}
- DIAXIS_ARCADEP_LATERAL = $22008201; (* Left / right *)
- {$EXTERNALSYM DIAXIS_ARCADEP_LATERAL}
- DIAXIS_ARCADEP_MOVE = $22010202; (* Up / down *)
- {$EXTERNALSYM DIAXIS_ARCADEP_MOVE}
- DIBUTTON_ARCADEP_JUMP = $22000401; (* Jump *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_JUMP}
- DIBUTTON_ARCADEP_FIRE = $22000402; (* Fire *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_FIRE}
- DIBUTTON_ARCADEP_CROUCH = $22000403; (* Crouch *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_CROUCH}
- DIBUTTON_ARCADEP_SPECIAL = $22000404; (* Apply special move *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_SPECIAL}
- DIBUTTON_ARCADEP_SELECT = $22000405; (* Select special move *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_SELECT}
- DIBUTTON_ARCADEP_MENU = $220004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_ARCADEP_VIEW = $22004601; (* Scroll view *)
- {$EXTERNALSYM DIHATSWITCH_ARCADEP_VIEW}
- DIBUTTON_ARCADEP_FIRESECONDARY = $22004406; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_FIRESECONDARY}
- DIBUTTON_ARCADEP_LEFT_LINK = $2200C4E4; (* Fallback sidestep left button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_LEFT_LINK}
- DIBUTTON_ARCADEP_RIGHT_LINK = $2200C4EC; (* Fallback sidestep right button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_RIGHT_LINK}
- DIBUTTON_ARCADEP_FORWARD_LINK = $220144E0; (* Fallback move forward button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_FORWARD_LINK}
- DIBUTTON_ARCADEP_BACK_LINK = $220144E8; (* Fallback move back button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_BACK_LINK}
- DIBUTTON_ARCADEP_VIEW_UP_LINK = $2207C4E0; (* Fallback scroll view up button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_VIEW_UP_LINK}
- DIBUTTON_ARCADEP_VIEW_DOWN_LINK = $2207C4E8; (* Fallback scroll view down button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_VIEW_DOWN_LINK}
- DIBUTTON_ARCADEP_VIEW_LEFT_LINK = $2207C4E4; (* Fallback scroll view left button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_VIEW_LEFT_LINK}
- DIBUTTON_ARCADEP_VIEW_RIGHT_LINK = $2207C4EC; (* Fallback scroll view right button *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_VIEW_RIGHT_LINK}
- DIBUTTON_ARCADEP_DEVICE = $220044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_DEVICE}
- DIBUTTON_ARCADEP_PAUSE = $220044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_ARCADEP_PAUSE}
- (*--- CAD - 2D Object Control
- Controls to select and move objects in 2D ---*)
- DIVIRTUAL_CAD_2DCONTROL = $23000000;
- {$EXTERNALSYM DIVIRTUAL_CAD_2DCONTROL}
- DIAXIS_2DCONTROL_LATERAL = $23008201; (* Move view left / right *)
- {$EXTERNALSYM DIAXIS_2DCONTROL_LATERAL}
- DIAXIS_2DCONTROL_MOVE = $23010202; (* Move view up / down *)
- {$EXTERNALSYM DIAXIS_2DCONTROL_MOVE}
- DIAXIS_2DCONTROL_INOUT = $23018203; (* Zoom - in / out *)
- {$EXTERNALSYM DIAXIS_2DCONTROL_INOUT}
- DIBUTTON_2DCONTROL_SELECT = $23000401; (* Select Object *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_SELECT}
- DIBUTTON_2DCONTROL_SPECIAL1 = $23000402; (* Do first special operation *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_SPECIAL1}
- DIBUTTON_2DCONTROL_SPECIAL = $23000403; (* Select special operation *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_SPECIAL}
- DIBUTTON_2DCONTROL_SPECIAL2 = $23000404; (* Do second special operation *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_SPECIAL2}
- DIBUTTON_2DCONTROL_MENU = $230004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_2DCONTROL_HATSWITCH = $23004601; (* Hat switch *)
- {$EXTERNALSYM DIHATSWITCH_2DCONTROL_HATSWITCH}
- DIAXIS_2DCONTROL_ROTATEZ = $23024204; (* Rotate view clockwise / counterclockwise *)
- {$EXTERNALSYM DIAXIS_2DCONTROL_ROTATEZ}
- DIBUTTON_2DCONTROL_DISPLAY = $23004405; (* Shows next on-screen display options *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_DISPLAY}
- DIBUTTON_2DCONTROL_DEVICE = $230044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_DEVICE}
- DIBUTTON_2DCONTROL_PAUSE = $230044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_2DCONTROL_PAUSE}
- (*--- CAD - 3D object control
- Controls to select and move objects within a 3D environment ---*)
- DIVIRTUAL_CAD_3DCONTROL = $24000000;
- {$EXTERNALSYM DIVIRTUAL_CAD_3DCONTROL}
- DIAXIS_3DCONTROL_LATERAL = $24008201; (* Move view left / right *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_LATERAL}
- DIAXIS_3DCONTROL_MOVE = $24010202; (* Move view up / down *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_MOVE}
- DIAXIS_3DCONTROL_INOUT = $24018203; (* Zoom - in / out *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_INOUT}
- DIBUTTON_3DCONTROL_SELECT = $24000401; (* Select Object *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_SELECT}
- DIBUTTON_3DCONTROL_SPECIAL1 = $24000402; (* Do first special operation *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_SPECIAL1}
- DIBUTTON_3DCONTROL_SPECIAL = $24000403; (* Select special operation *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_SPECIAL}
- DIBUTTON_3DCONTROL_SPECIAL2 = $24000404; (* Do second special operation *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_SPECIAL2}
- DIBUTTON_3DCONTROL_MENU = $240004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_3DCONTROL_HATSWITCH = $24004601; (* Hat switch *)
- {$EXTERNALSYM DIHATSWITCH_3DCONTROL_HATSWITCH}
- DIAXIS_3DCONTROL_ROTATEX = $24034204; (* Rotate view forward or up / backward or down *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_ROTATEX}
- DIAXIS_3DCONTROL_ROTATEY = $2402C205; (* Rotate view clockwise / counterclockwise *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_ROTATEY}
- DIAXIS_3DCONTROL_ROTATEZ = $24024206; (* Rotate view left / right *)
- {$EXTERNALSYM DIAXIS_3DCONTROL_ROTATEZ}
- DIBUTTON_3DCONTROL_DISPLAY = $24004405; (* Show next on-screen display options *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_DISPLAY}
- DIBUTTON_3DCONTROL_DEVICE = $240044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_DEVICE}
- DIBUTTON_3DCONTROL_PAUSE = $240044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_3DCONTROL_PAUSE}
- (*--- CAD - 3D Navigation - Fly through
- Controls for 3D modeling ---*)
- DIVIRTUAL_CAD_FLYBY = $25000000;
- {$EXTERNALSYM DIVIRTUAL_CAD_FLYBY}
- DIAXIS_CADF_LATERAL = $25008201; (* move view left / right *)
- {$EXTERNALSYM DIAXIS_CADF_LATERAL}
- DIAXIS_CADF_MOVE = $25010202; (* move view up / down *)
- {$EXTERNALSYM DIAXIS_CADF_MOVE}
- DIAXIS_CADF_INOUT = $25018203; (* in / out *)
- {$EXTERNALSYM DIAXIS_CADF_INOUT}
- DIBUTTON_CADF_SELECT = $25000401; (* Select Object *)
- {$EXTERNALSYM DIBUTTON_CADF_SELECT}
- DIBUTTON_CADF_SPECIAL1 = $25000402; (* do first special operation *)
- {$EXTERNALSYM DIBUTTON_CADF_SPECIAL1}
- DIBUTTON_CADF_SPECIAL = $25000403; (* Select special operation *)
- {$EXTERNALSYM DIBUTTON_CADF_SPECIAL}
- DIBUTTON_CADF_SPECIAL2 = $25000404; (* do second special operation *)
- {$EXTERNALSYM DIBUTTON_CADF_SPECIAL2}
- DIBUTTON_CADF_MENU = $250004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_CADF_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_CADF_HATSWITCH = $25004601; (* Hat switch *)
- {$EXTERNALSYM DIHATSWITCH_CADF_HATSWITCH}
- DIAXIS_CADF_ROTATEX = $25034204; (* Rotate view forward or up / backward or down *)
- {$EXTERNALSYM DIAXIS_CADF_ROTATEX}
- DIAXIS_CADF_ROTATEY = $2502C205; (* Rotate view clockwise / counterclockwise *)
- {$EXTERNALSYM DIAXIS_CADF_ROTATEY}
- DIAXIS_CADF_ROTATEZ = $25024206; (* Rotate view left / right *)
- {$EXTERNALSYM DIAXIS_CADF_ROTATEZ}
- DIBUTTON_CADF_DISPLAY = $25004405; (* shows next on-screen display options *)
- {$EXTERNALSYM DIBUTTON_CADF_DISPLAY}
- DIBUTTON_CADF_DEVICE = $250044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_CADF_DEVICE}
- DIBUTTON_CADF_PAUSE = $250044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_CADF_PAUSE}
- (*--- CAD - 3D Model Control
- Controls for 3D modeling ---*)
- DIVIRTUAL_CAD_MODEL = $26000000;
- {$EXTERNALSYM DIVIRTUAL_CAD_MODEL}
- DIAXIS_CADM_LATERAL = $26008201; (* move view left / right *)
- {$EXTERNALSYM DIAXIS_CADM_LATERAL}
- DIAXIS_CADM_MOVE = $26010202; (* move view up / down *)
- {$EXTERNALSYM DIAXIS_CADM_MOVE}
- DIAXIS_CADM_INOUT = $26018203; (* in / out *)
- {$EXTERNALSYM DIAXIS_CADM_INOUT}
- DIBUTTON_CADM_SELECT = $26000401; (* Select Object *)
- {$EXTERNALSYM DIBUTTON_CADM_SELECT}
- DIBUTTON_CADM_SPECIAL1 = $26000402; (* do first special operation *)
- {$EXTERNALSYM DIBUTTON_CADM_SPECIAL1}
- DIBUTTON_CADM_SPECIAL = $26000403; (* Select special operation *)
- {$EXTERNALSYM DIBUTTON_CADM_SPECIAL}
- DIBUTTON_CADM_SPECIAL2 = $26000404; (* do second special operation *)
- {$EXTERNALSYM DIBUTTON_CADM_SPECIAL2}
- DIBUTTON_CADM_MENU = $260004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_CADM_MENU}
- (*--- Priority 2 controls ---*)
- DIHATSWITCH_CADM_HATSWITCH = $26004601; (* Hat switch *)
- {$EXTERNALSYM DIHATSWITCH_CADM_HATSWITCH}
- DIAXIS_CADM_ROTATEX = $26034204; (* Rotate view forward or up / backward or down *)
- {$EXTERNALSYM DIAXIS_CADM_ROTATEX}
- DIAXIS_CADM_ROTATEY = $2602C205; (* Rotate view clockwise / counterclockwise *)
- {$EXTERNALSYM DIAXIS_CADM_ROTATEY}
- DIAXIS_CADM_ROTATEZ = $26024206; (* Rotate view left / right *)
- {$EXTERNALSYM DIAXIS_CADM_ROTATEZ}
- DIBUTTON_CADM_DISPLAY = $26004405; (* shows next on-screen display options *)
- {$EXTERNALSYM DIBUTTON_CADM_DISPLAY}
- DIBUTTON_CADM_DEVICE = $260044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_CADM_DEVICE}
- DIBUTTON_CADM_PAUSE = $260044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_CADM_PAUSE}
- (*--- Control - Media Equipment
- Remote ---*)
- DIVIRTUAL_REMOTE_CONTROL = $27000000;
- {$EXTERNALSYM DIVIRTUAL_REMOTE_CONTROL}
- DIAXIS_REMOTE_SLIDER = $27050201; (* Slider for adjustment: volume / color / bass / etc *)
- {$EXTERNALSYM DIAXIS_REMOTE_SLIDER}
- DIBUTTON_REMOTE_MUTE = $27000401; (* Set volume on current device to zero *)
- {$EXTERNALSYM DIBUTTON_REMOTE_MUTE}
- DIBUTTON_REMOTE_SELECT = $27000402; (* Next/previous: channel/ track / chapter / picture / station *)
- {$EXTERNALSYM DIBUTTON_REMOTE_SELECT}
- DIBUTTON_REMOTE_PLAY = $27002403; (* Start or pause entertainment on current device *)
- {$EXTERNALSYM DIBUTTON_REMOTE_PLAY}
- DIBUTTON_REMOTE_CUE = $27002404; (* Move through current media *)
- {$EXTERNALSYM DIBUTTON_REMOTE_CUE}
- DIBUTTON_REMOTE_REVIEW = $27002405; (* Move through current media *)
- {$EXTERNALSYM DIBUTTON_REMOTE_REVIEW}
- DIBUTTON_REMOTE_CHANGE = $27002406; (* Select next device *)
- {$EXTERNALSYM DIBUTTON_REMOTE_CHANGE}
- DIBUTTON_REMOTE_RECORD = $27002407; (* Start recording the current media *)
- {$EXTERNALSYM DIBUTTON_REMOTE_RECORD}
- DIBUTTON_REMOTE_MENU = $270004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_REMOTE_MENU}
- (*--- Priority 2 controls ---*)
- DIAXIS_REMOTE_SLIDER2 = $27054202; (* Slider for adjustment: volume *)
- {$EXTERNALSYM DIAXIS_REMOTE_SLIDER2}
- DIBUTTON_REMOTE_TV = $27005C08; (* Select TV *)
- {$EXTERNALSYM DIBUTTON_REMOTE_TV}
- DIBUTTON_REMOTE_CABLE = $27005C09; (* Select cable box *)
- {$EXTERNALSYM DIBUTTON_REMOTE_CABLE}
- DIBUTTON_REMOTE_CD = $27005C0A; (* Select CD player *)
- {$EXTERNALSYM DIBUTTON_REMOTE_CD}
- DIBUTTON_REMOTE_VCR = $27005C0B; (* Select VCR *)
- {$EXTERNALSYM DIBUTTON_REMOTE_VCR}
- DIBUTTON_REMOTE_TUNER = $27005C0C; (* Select tuner *)
- {$EXTERNALSYM DIBUTTON_REMOTE_TUNER}
- DIBUTTON_REMOTE_DVD = $27005C0D; (* Select DVD player *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DVD}
- DIBUTTON_REMOTE_ADJUST = $27005C0E; (* Enter device adjustment menu *)
- {$EXTERNALSYM DIBUTTON_REMOTE_ADJUST}
- DIBUTTON_REMOTE_DIGIT0 = $2700540F; (* Digit 0 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT0}
- DIBUTTON_REMOTE_DIGIT1 = $27005410; (* Digit 1 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT1}
- DIBUTTON_REMOTE_DIGIT2 = $27005411; (* Digit 2 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT2}
- DIBUTTON_REMOTE_DIGIT3 = $27005412; (* Digit 3 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT3}
- DIBUTTON_REMOTE_DIGIT4 = $27005413; (* Digit 4 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT4}
- DIBUTTON_REMOTE_DIGIT5 = $27005414; (* Digit 5 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT5}
- DIBUTTON_REMOTE_DIGIT6 = $27005415; (* Digit 6 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT6}
- DIBUTTON_REMOTE_DIGIT7 = $27005416; (* Digit 7 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT7}
- DIBUTTON_REMOTE_DIGIT8 = $27005417; (* Digit 8 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT8}
- DIBUTTON_REMOTE_DIGIT9 = $27005418; (* Digit 9 *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DIGIT9}
- DIBUTTON_REMOTE_DEVICE = $270044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_REMOTE_DEVICE}
- DIBUTTON_REMOTE_PAUSE = $270044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_REMOTE_PAUSE}
- (*--- Control- Web
- Help or Browser ---*)
- DIVIRTUAL_BROWSER_CONTROL = $28000000;
- {$EXTERNALSYM DIVIRTUAL_BROWSER_CONTROL}
- DIAXIS_BROWSER_LATERAL = $28008201; (* Move on screen pointer *)
- {$EXTERNALSYM DIAXIS_BROWSER_LATERAL}
- DIAXIS_BROWSER_MOVE = $28010202; (* Move on screen pointer *)
- {$EXTERNALSYM DIAXIS_BROWSER_MOVE}
- DIBUTTON_BROWSER_SELECT = $28000401; (* Select current item *)
- {$EXTERNALSYM DIBUTTON_BROWSER_SELECT}
- DIAXIS_BROWSER_VIEW = $28018203; (* Move view up/down *)
- {$EXTERNALSYM DIAXIS_BROWSER_VIEW}
- DIBUTTON_BROWSER_REFRESH = $28000402; (* Refresh *)
- {$EXTERNALSYM DIBUTTON_BROWSER_REFRESH}
- DIBUTTON_BROWSER_MENU = $280004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_BROWSER_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_BROWSER_SEARCH = $28004403; (* Use search tool *)
- {$EXTERNALSYM DIBUTTON_BROWSER_SEARCH}
- DIBUTTON_BROWSER_STOP = $28004404; (* Cease current update *)
- {$EXTERNALSYM DIBUTTON_BROWSER_STOP}
- DIBUTTON_BROWSER_HOME = $28004405; (* Go directly to "home" location *)
- {$EXTERNALSYM DIBUTTON_BROWSER_HOME}
- DIBUTTON_BROWSER_FAVORITES = $28004406; (* Mark current site as favorite *)
- {$EXTERNALSYM DIBUTTON_BROWSER_FAVORITES}
- DIBUTTON_BROWSER_NEXT = $28004407; (* Select Next page *)
- {$EXTERNALSYM DIBUTTON_BROWSER_NEXT}
- DIBUTTON_BROWSER_PREVIOUS = $28004408; (* Select Previous page *)
- {$EXTERNALSYM DIBUTTON_BROWSER_PREVIOUS}
- DIBUTTON_BROWSER_HISTORY = $28004409; (* Show/Hide History *)
- {$EXTERNALSYM DIBUTTON_BROWSER_HISTORY}
- DIBUTTON_BROWSER_PRINT = $2800440A; (* Print current page *)
- {$EXTERNALSYM DIBUTTON_BROWSER_PRINT}
- DIBUTTON_BROWSER_DEVICE = $280044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_BROWSER_DEVICE}
- DIBUTTON_BROWSER_PAUSE = $280044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_BROWSER_PAUSE}
- (*--- Driving Simulator - Giant Walking Robot
- Walking tank with weapons ---*)
- DIVIRTUAL_DRIVING_MECHA = $29000000;
- {$EXTERNALSYM DIVIRTUAL_DRIVING_MECHA}
- DIAXIS_MECHA_STEER = $29008201; (* Turns mecha left/right *)
- {$EXTERNALSYM DIAXIS_MECHA_STEER}
- DIAXIS_MECHA_TORSO = $29010202; (* Tilts torso forward/backward *)
- {$EXTERNALSYM DIAXIS_MECHA_TORSO}
- DIAXIS_MECHA_ROTATE = $29020203; (* Turns torso left/right *)
- {$EXTERNALSYM DIAXIS_MECHA_ROTATE}
- DIAXIS_MECHA_THROTTLE = $29038204; (* Engine Speed *)
- {$EXTERNALSYM DIAXIS_MECHA_THROTTLE}
- DIBUTTON_MECHA_FIRE = $29000401; (* Fire *)
- {$EXTERNALSYM DIBUTTON_MECHA_FIRE}
- DIBUTTON_MECHA_WEAPONS = $29000402; (* Select next weapon group *)
- {$EXTERNALSYM DIBUTTON_MECHA_WEAPONS}
- DIBUTTON_MECHA_TARGET = $29000403; (* Select closest enemy available target *)
- {$EXTERNALSYM DIBUTTON_MECHA_TARGET}
- DIBUTTON_MECHA_REVERSE = $29000404; (* Toggles throttle in/out of reverse *)
- {$EXTERNALSYM DIBUTTON_MECHA_REVERSE}
- DIBUTTON_MECHA_ZOOM = $29000405; (* Zoom in/out targeting reticule *)
- {$EXTERNALSYM DIBUTTON_MECHA_ZOOM}
- DIBUTTON_MECHA_JUMP = $29000406; (* Fires jump jets *)
- {$EXTERNALSYM DIBUTTON_MECHA_JUMP}
- DIBUTTON_MECHA_MENU = $290004FD; (* Show menu options *)
- {$EXTERNALSYM DIBUTTON_MECHA_MENU}
- (*--- Priority 2 controls ---*)
- DIBUTTON_MECHA_CENTER = $29004407; (* Center torso to legs *)
- {$EXTERNALSYM DIBUTTON_MECHA_CENTER}
- DIHATSWITCH_MECHA_GLANCE = $29004601; (* Look around *)
- {$EXTERNALSYM DIHATSWITCH_MECHA_GLANCE}
- DIBUTTON_MECHA_VIEW = $29004408; (* Cycle through view options *)
- {$EXTERNALSYM DIBUTTON_MECHA_VIEW}
- DIBUTTON_MECHA_FIRESECONDARY = $29004409; (* Alternative fire button *)
- {$EXTERNALSYM DIBUTTON_MECHA_FIRESECONDARY}
- DIBUTTON_MECHA_LEFT_LINK = $2900C4E4; (* Fallback steer left button *)
- {$EXTERNALSYM DIBUTTON_MECHA_LEFT_LINK}
- DIBUTTON_MECHA_RIGHT_LINK = $2900C4EC; (* Fallback steer right button *)
- {$EXTERNALSYM DIBUTTON_MECHA_RIGHT_LINK}
- DIBUTTON_MECHA_FORWARD_LINK = $290144E0; (* Fallback tilt torso forward button *)
- {$EXTERNALSYM DIBUTTON_MECHA_FORWARD_LINK}
- DIBUTTON_MECHA_BACK_LINK = $290144E8; (* Fallback tilt toroso backward button *)
- {$EXTERNALSYM DIBUTTON_MECHA_BACK_LINK}
- DIBUTTON_MECHA_ROTATE_LEFT_LINK = $290244E4; (* Fallback rotate toroso right button *)
- {$EXTERNALSYM DIBUTTON_MECHA_ROTATE_LEFT_LINK}
- DIBUTTON_MECHA_ROTATE_RIGHT_LINK = $290244EC; (* Fallback rotate torso left button *)
- {$EXTERNALSYM DIBUTTON_MECHA_ROTATE_RIGHT_LINK}
- DIBUTTON_MECHA_FASTER_LINK = $2903C4E0; (* Fallback increase engine speed *)
- {$EXTERNALSYM DIBUTTON_MECHA_FASTER_LINK}
- DIBUTTON_MECHA_SLOWER_LINK = $2903C4E8; (* Fallback decrease engine speed *)
- {$EXTERNALSYM DIBUTTON_MECHA_SLOWER_LINK}
- DIBUTTON_MECHA_DEVICE = $290044FE; (* Show input device and controls *)
- {$EXTERNALSYM DIBUTTON_MECHA_DEVICE}
- DIBUTTON_MECHA_PAUSE = $290044FC; (* Start / Pause / Restart game *)
- {$EXTERNALSYM DIBUTTON_MECHA_PAUSE}
- (*
- * "ANY" semantics can be used as a last resort to get mappings for actions
- * that match nothing in the chosen virtual genre. These semantics will be
- * mapped at a lower priority that virtual genre semantics. Also, hardware
- * vendors will not be able to provide sensible mappings for these unless
- * they provide application specific mappings.
- *)
- DIAXIS_ANY_X_1 = $FF00C201;
- {$EXTERNALSYM DIAXIS_ANY_X_1}
- DIAXIS_ANY_X_2 = $FF00C202;
- {$EXTERNALSYM DIAXIS_ANY_X_2}
- DIAXIS_ANY_Y_1 = $FF014201;
- {$EXTERNALSYM DIAXIS_ANY_Y_1}
- DIAXIS_ANY_Y_2 = $FF014202;
- {$EXTERNALSYM DIAXIS_ANY_Y_2}
- DIAXIS_ANY_Z_1 = $FF01C201;
- {$EXTERNALSYM DIAXIS_ANY_Z_1}
- DIAXIS_ANY_Z_2 = $FF01C202;
- {$EXTERNALSYM DIAXIS_ANY_Z_2}
- DIAXIS_ANY_R_1 = $FF024201;
- {$EXTERNALSYM DIAXIS_ANY_R_1}
- DIAXIS_ANY_R_2 = $FF024202;
- {$EXTERNALSYM DIAXIS_ANY_R_2}
- DIAXIS_ANY_U_1 = $FF02C201;
- {$EXTERNALSYM DIAXIS_ANY_U_1}
- DIAXIS_ANY_U_2 = $FF02C202;
- {$EXTERNALSYM DIAXIS_ANY_U_2}
- DIAXIS_ANY_V_1 = $FF034201;
- {$EXTERNALSYM DIAXIS_ANY_V_1}
- DIAXIS_ANY_V_2 = $FF034202;
- {$EXTERNALSYM DIAXIS_ANY_V_2}
- DIAXIS_ANY_A_1 = $FF03C201;
- {$EXTERNALSYM DIAXIS_ANY_A_1}
- DIAXIS_ANY_A_2 = $FF03C202;
- {$EXTERNALSYM DIAXIS_ANY_A_2}
- DIAXIS_ANY_B_1 = $FF044201;
- {$EXTERNALSYM DIAXIS_ANY_B_1}
- DIAXIS_ANY_B_2 = $FF044202;
- {$EXTERNALSYM DIAXIS_ANY_B_2}
- DIAXIS_ANY_C_1 = $FF04C201;
- {$EXTERNALSYM DIAXIS_ANY_C_1}
- DIAXIS_ANY_C_2 = $FF04C202;
- {$EXTERNALSYM DIAXIS_ANY_C_2}
- DIAXIS_ANY_S_1 = $FF054201;
- {$EXTERNALSYM DIAXIS_ANY_S_1}
- DIAXIS_ANY_S_2 = $FF054202;
- {$EXTERNALSYM DIAXIS_ANY_S_2}
- DIAXIS_ANY_1 = $FF004201;
- {$EXTERNALSYM DIAXIS_ANY_1}
- DIAXIS_ANY_2 = $FF004202;
- {$EXTERNALSYM DIAXIS_ANY_2}
- DIAXIS_ANY_3 = $FF004203;
- {$EXTERNALSYM DIAXIS_ANY_3}
- DIAXIS_ANY_4 = $FF004204;
- {$EXTERNALSYM DIAXIS_ANY_4}
- DIPOV_ANY_1 = $FF004601;
- {$EXTERNALSYM DIPOV_ANY_1}
- DIPOV_ANY_2 = $FF004602;
- {$EXTERNALSYM DIPOV_ANY_2}
- DIPOV_ANY_3 = $FF004603;
- {$EXTERNALSYM DIPOV_ANY_3}
- DIPOV_ANY_4 = $FF004604;
- {$EXTERNALSYM DIPOV_ANY_4}
- // #define DIBUTTON_ANY(instance) ( 0xFF004400 | instance )
- function DIBUTTON_ANY(instance: Cardinal): Cardinal;
- {$EXTERNALSYM DIBUTTON_ANY}
- (****************************************************************************
- *
- * Definitions for non-IDirectInput (VJoyD) features defined more recently
- * than the current sdk files
- *
- ****************************************************************************)
- //#ifdef _INC_MMSYSTEM
- //#ifndef MMNOJOY
- //#ifndef __VJOYDX_INCLUDED__
- //#define __VJOYDX_INCLUDED__
- const
- (*
- * Flag to indicate that the dwReserved2 field of the JOYINFOEX structure
- * contains mini-driver specific data to be passed by VJoyD to the mini-
- * driver instead of doing a poll.
- *)
- JOY_PASSDRIVERDATA = $10000000;
- {$EXTERNALSYM JOY_PASSDRIVERDATA}
- (*
- * Informs the joystick driver that the configuration has been changed
- * and should be reloaded from the registery.
- * dwFlags is reserved and should be set to zero
- *)
- const
- WinMMDll = 'WinMM.dll';
- {$IFDEF DIRECTINPUT_DYNAMIC_LINK}
- var
- joyConfigChanged: function(dwFlags: DWORD): MMRESULT; stdcall;
- {$ELSE}
- function joyConfigChanged(dwFlags: DWORD): MMRESULT; stdcall; external WinMMDll;
- {$ENDIF}
- {$EXTERNALSYM joyConfigChanged}
- (*
- * Invoke the joystick control panel directly, using the passed window handle
- * as the parent of the dialog. This API is only supported for compatibility
- * purposes; new applications should use the RunControlPanel method of a
- * device interface for a game controller.
- * The API is called by using the function pointer returned by
- * GetProcAddress( hCPL, TEXT("ShowJoyCPL") ) where hCPL is a HMODULE returned
- * by LoadLibrary( TEXT("joy.cpl") ). The typedef is provided to allow
- * declaration and casting of an appropriately typed variable.
- *)
- const
- JoyCPL = 'joy.cpl';
- type
- TShowJoyCPL = procedure(hWnd: HWND); stdcall;
- {$IFDEF DIRECTINPUT_DYNAMIC_LINK}
- var
- ShowJoyCPL: TShowJoyCPL;
- {$ELSE}
- procedure ShowJoyCPL(hWnd: HWND); stdcall; external JoyCPL;
- {$ENDIF}
- {$EXTERNALSYM ShowJoyCPL}
- const
- (*
- * Hardware Setting indicating that the device is a headtracker
- *)
- JOY_HWS_ISHEADTRACKER = $02000000;
- {$EXTERNALSYM JOY_HWS_ISHEADTRACKER}
- (*
- * Hardware Setting indicating that the VxD is used to replace
- * the standard analog polling
- *)
- JOY_HWS_ISGAMEPORTDRIVER = $04000000;
- {$EXTERNALSYM JOY_HWS_ISGAMEPORTDRIVER}
- (*
- * Hardware Setting indicating that the driver needs a standard
- * gameport in order to communicate with the device.
- *)
- JOY_HWS_ISANALOGPORTDRIVER = $08000000;
- {$EXTERNALSYM JOY_HWS_ISANALOGPORTDRIVER}
- (*
- * Hardware Setting indicating that VJoyD should not load this
- * driver, it will be loaded externally and will register with
- * VJoyD of it's own accord.
- *)
- JOY_HWS_AUTOLOAD = $10000000;
- {$EXTERNALSYM JOY_HWS_AUTOLOAD}
- (*
- * Hardware Setting indicating that the driver acquires any
- * resources needed without needing a devnode through VJoyD.
- *)
- JOY_HWS_NODEVNODE = $20000000;
- {$EXTERNALSYM JOY_HWS_NODEVNODE}
- (*
- * Hardware Setting indicating that the device is a gameport bus
- *)
- JOY_HWS_ISGAMEPORTBUS = $80000000;
- {$EXTERNALSYM JOY_HWS_ISGAMEPORTBUS}
- JOY_HWS_GAMEPORTBUSBUSY = $00000001;
- {$EXTERNALSYM JOY_HWS_GAMEPORTBUSBUSY}
- (*
- * Usage Setting indicating that the settings are volatile and
- * should be removed if still present on a reboot.
- *)
- JOY_US_VOLATILE = $00000008;
- {$EXTERNALSYM JOY_US_VOLATILE}
- //#endif (* __VJOYDX_INCLUDED__ *)
- //#endif (* not MMNOJOY *)
- //#endif (* _INC_MMSYSTEM *)
- (****************************************************************************
- *
- * Definitions for non-IDirectInput (VJoyD) features defined more recently
- * than the current ddk files
- *
- ****************************************************************************)
- //#ifdef _INC_MMDDK
- //#ifndef MMNOJOYDEV
- //#ifndef __VJOYDXD_INCLUDED__
- //#define __VJOYDXD_INCLUDED__
- const
- (*
- * Poll type in which the do_other field of the JOYOEMPOLLDATA
- * structure contains mini-driver specific data passed from an app.
- *)
- JOY_OEMPOLL_PASSDRIVERDATA = 7;
- {$EXTERNALSYM JOY_OEMPOLL_PASSDRIVERDATA}
- //#endif (* __VJOYDXD_INCLUDED__ *)
- //#endif (* not MMNOJOYDEV *)
- //#endif (* _INC_MMDDK *)
- implementation
- //#define DIEFT_GETTYPE(n) LOBYTE(n)
- function DIEFT_GETTYPE(n: Cardinal): Byte;
- begin
- Result := LOBYTE(n);
- end;
- // #define GET_DIDEVICE_TYPE(dwDevType) LOBYTE(dwDevType)
- function GET_DIDEVICE_TYPE(dwDevType: DWORD): Byte;
- begin
- Result := LOBYTE(dwDevType);
- end;
- // #define GET_DIDEVICE_SUBTYPE(dwDevType) HIBYTE(dwDevType)
- function GET_DIDEVICE_SUBTYPE(dwDevType: DWORD): Byte;
- begin
- Result := HiByte(Word(dwDevType));
- end;
- // #define DIDFT_MAKEINSTANCE(n) ((WORD)(n) << 8)
- function DIDFT_MAKEINSTANCE(n: Cardinal): Cardinal;
- begin
- Result := Word(n) shl 8;
- end;
- // #define DIDFT_GETTYPE(n) LOBYTE(n)
- function DIDFT_GETTYPE(n: Cardinal): Byte;
- begin
- Result := LOBYTE(n);
- end;
- // #define DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)
- function DIDFT_GETINSTANCE(n: Cardinal): Cardinal;
- begin
- Result := LOWORD(n) shr 8;
- end;
- // #define DIDFT_ENUMCOLLECTION(n) ((WORD)(n) << 8)
- function DIDFT_ENUMCOLLECTION(n: Cardinal): Cardinal;
- begin
- Result := Word(n) shl 8;
- end;
- {$IFDEF DIRECTINPUT_VERSION_5b} (* #if(DIRECTINPUT_VERSION >= 0x050a) *)
- // #define DIMAKEUSAGEDWORD(UsagePage, Usage)
- // (DWORD)MAKELONG(Usage, UsagePage)
- function DIMAKEUSAGEDWORD(UsagePage, Usage: Word): DWORD;
- begin
- Result:= DWORD(MakeLong(UsagePage, Usage));
- end;
- {$ENDIF} (* DIRECTINPUT_VERSION >= 0x050a *)
- // #define DIJOFS_SLIDER(n) (FIELD_OFFSET(DIJOYSTATE, rglSlider) +
- // (n) * sizeof(LONG))
- function DIJOFS_SLIDER(n: Cardinal): Cardinal;
- begin
- Result := Cardinal(@PDIJoyState(nil)^.rglSlider) + n*SizeOf(DWORD); // + 24;
- end;
- // #define DIJOFS_POV(n) (FIELD_OFFSET(DIJOYSTATE, rgdwPOV) +
- // (n) * sizeof(DWORD))
- function DIJOFS_POV(n: Cardinal): Cardinal;
- begin
- Result := Cardinal(@PDIJoyState(nil).rgdwPOV) + n*SizeOf(DWORD); // + 32;
- end;
- // #define DIJOFS_BUTTON(n) (FIELD_OFFSET(DIJOYSTATE, rgbButtons) + (n))
- function DIJOFS_BUTTON(n: Cardinal): Cardinal;
- begin
- Result := Cardinal(@PDIJoyState(nil).rgbButtons) + n*SizeOf(DWORD); // + 48;
- end;
- // #define DIBUTTON_ANY(instance) ( 0xFF004400 | instance )
- function DIBUTTON_ANY(instance: Cardinal): Cardinal;
- begin
- Result := $FF004400 or instance;
- end;
- {$IFDEF DIRECTINPUT_DYNAMIC_LINK}
- var
- DirectInputLib: THandle = 0;
- DirectInput8Lib: THandle = 0;
- WinMMLib: THandle = 0;
- JoyCPLLib: THandle = 0;
- function DirectInputLoaded: Boolean;
- begin
- Result:= (DirectInputLib <> 0) and (DirectInput8Lib<>0);
- end;
- function UnLoadDirectInput: Boolean;
- begin
- Result:= True;
- if (DirectInputLib <> 0) then
- begin
- Result:= Result and FreeLibrary(DirectInputLib);
- DirectInputCreateA:= nil;
- DirectInputCreateW:= nil;
- DirectInputCreate:= nil;
- DirectInputCreateEx:= nil;
- DirectInputLib:= 0;
- end;
- if (DirectInput8Lib <> 0) then
- begin
- Result:= Result and FreeLibrary(DirectInput8Lib);
- DirectInput8Create:= nil;
- DirectInput8Lib:= 0;
- end;
- if (WinMMLib <> 0) then
- begin
- Result:= Result and FreeLibrary(WinMMLib);
- joyConfigChanged:= nil;
- WinMMLib:= 0;
- end;
- if (JoyCPLLib <> 0) then
- begin
- Result:= Result and FreeLibrary(JoyCPLLib);
- ShowJoyCPL:= nil;
- JoyCPLLib:= 0;
- end;
- end;
- function LoadDirectInput: Boolean;
- begin
- Result:= DirectInputLoaded;
- if (not Result) then
- begin
- DirectInputLib:= LoadLibrary(DirectInputDll);
- if (DirectInputLib<>0) then
- begin
- DirectInputCreateA:= GetProcAddress(DirectInputLib, 'DirectInputCreateA');
- DirectInputCreateW:= GetProcAddress(DirectInputLib, 'DirectInputCreateW');
- {$IFDEF UNICODE}
- DirectInputCreate:= GetProcAddress(DirectInputLib, 'DirectInputCreateW');
- {$ELSE}
- DirectInputCreate:= GetProcAddress(DirectInputLib, 'DirectInputCreateA');
- {$ENDIF}
- DirectInputCreateEx:= GetProcAddress(DirectInputLib, 'DirectInputCreateEx');
- end;
- DirectInput8Lib:= LoadLibrary(DirectInput8Dll);
- if (DirectInput8Lib<>0) then
- begin
- DirectInput8Create:= GetProcAddress(DirectInputLib, 'DirectInput8Create');
- end;
- WinMMLib:= LoadLibrary(WinMMDll);
- if (WinMMLib <> 0) then
- begin
- joyConfigChanged:= GetProcAddress(WinMMLib, 'joyConfigChanged');
- end;
- JoyCPLLib:= LoadLibrary(JoyCPL);
- if (JoyCPLLib <> 0) then
- begin
- ShowJoyCPL:= GetProcAddress(JoyCPLLib, 'ShowJoyCPL');
- end;
- // At least basic procedure is found!
- Result:= Assigned(DirectInputCreate) or Assigned(DirectInput8Create);
- if not Result then UnLoadDirectInput;
- end;
- end;
- {$ELSE}
- function DirectInputLoaded: Boolean;
- begin // Stub function for static linking
- Result:= True;
- end;
- function UnLoadDirectInput: Boolean;
- begin // Stub function for static linking
- Result:= True; // should emulate "normal" behaviour
- end;
- function LoadDirectInput: Boolean;
- begin // Stub function for static linking
- Result:= True;
- end;
- {$ENDIF}
- {$IFDEF DIRECTINPUT_DYNAMIC_LINK}
- initialization
- {$IFNDEF DIRECTINPUT_DYNAMIC_LINK_EXPLICIT}
- LoadDirectInput;
- {$ENDIF}
- finalization
- UnLoadDirectInput;
- {$ENDIF}
- end.