home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
games
/
mines
/
!3DMine
/
LeadEdSrc
< prev
next >
Wrap
Text File
|
1994-04-14
|
3KB
|
87 lines
| 3D Minesweeper joystick control
|
| Source file (14-Apr-94)
| © Andrew Garrard 1994
| Written for the Leading Edge joystick interface Version 2.40
| Compatible with The Serial Port joystick interface (I hope)
| For information on how to load the SerPort/JS file, please
| refer to the documentation provided with your joystick
| interface; if the joystick control software has been seen by
| the filer, then double-clicking on the SerPort/JS file should
| suffice. The !3DMine application should then be run as normal.
| Use joystick one for rotation and to replace the mouse:
| In rotation mode:
| ~~ ~~~~~~~~ ~~~~
| Rotate left - Stick left
| Rotate right - Stick right
| Rotate up - Stick up
| Rotate down - Stick down
| Enter mouse replacement mode - Stick centred + Fire button
|
| N.B. No clockwise/anticlockwise rotation equivalent
| In mouse replacement mode:
| ~~ ~~~~~ ~~~~~~~~~~~ ~~~~
| Without the fire button held down:
| Move pointer left - Stick left
| Move pointer right - Stick right
| Move pointer up - Stick up
| Move pointer down - Stick down
| Enter rotation mode - Stir joystick
| With the fire button held down:
| Uncover cell - Stick left
| Flag cell - Stick right
| Query cell - Stick down
| Enter/leave help mode - Stick up
| Use joystick two to resize the grid:
| Without the fire button held down:
| Reduce lower x limit - Stick left
| Reduce upper x limit - Stick right
| Reduce lower y limit - Stick down
| Reduce upper y limit - Stick up
| With the fire button held down:
| Increase lower x limit - Stick left
| Increase upper x limit - Stick right
| Increase lower y limit - Stick down
| Increase upper y limit - Stick up
|
| N.B. No way of changing the z range with the joystick
| Tip: holding down the fire button on joystick two while using
| joystick one to rotate the grid will cause the step size of
| the rotation to be larger, so that faster rotation over large
| angles is possible.
|---------------------------------------------------------------
| Rotation
z = left_1.~flagA_1.~stir_1.~fire_1
x = right_1.~flagA_1.~stir_1.~fire_1
' = up_1.~flagA_1.~stir_1.~fire_1
/ = down_1.~flagA_1.~stir_1.~fire_1
setA_1 = ~left_1.~right_1.~up_1.~down_1.~flagA_1.~stir_1.fire_1
| Mouse replacement
left_pointer_2 = left_1.flagA_1.~fire_1
right_pointer_2 = right_1.flagA_1.~fire_1
up_pointer_2 = up_1.flagA_1.~fire_1
down_pointer_2 = down_1.flagA_1.~fire_1
left_button = left_1.flagA_1.fire_1
middle_button = down_1.flagA_1.fire_1
right_button = right_1.flagA_1.fire_1
space_bar = up_1.flagA_1.fire_1
resetA_1 = flagA_1.stir_1
| Grid resizing
q = left_2
w = right_2
e = down_2
r = up_2
left_shift = fire_2