home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Zone
/
VRZONE.ISO
/
mac
/
PC
/
PCGLOVE
/
GLOVE
/
OBJGLV.ZIP
/
PROGRAMS
/
GLOVE.INI
< prev
next >
Wrap
INI File
|
1993-05-12
|
8KB
|
251 lines
; GLOVE.INI
; Startup parameters for the Nintendo Power Glove Driver and Demo.
;
; Lines beginning with a semicolon are comments!!
; Section headings look like this: [Name_of_section_heading]
; Some section headings have "1." or "2." in front of them
; (e.g. [1.Graphics]). The digit tells you which glove this
; applies to. That is, [1.Graphics] applies to the first glove,
; and [2.Graphics] applies to the second glove.
;
; More complete documentation for settings in this file
; is included in the printed documentation that comes
; when you purchase Object Glove.
[1.Graphics]
; Following are values for fillMode:
; EMPTY_FILL = 0 SOLID_FILL = 1
; LINE_FILL = 2 LTSLASH_FILL = 3
; SLASH_FILL = 4 BKSLASH_FILL = 5
; LTBKSLASH_FILL = 6 HATCH_FILL = 7
; XHATCH_FILL = 8 INTERLEAVE_FILL = 9
; WIDE_DOT_FILL = 10 CLOSE_DOT_FILL = 11
fillMode=11
gloveActive=1
handActive=1
infoActive=1
; Whether to leave trails behind the moving hand.
leaveTrails=0
showGestures=1
; Initial color. -1 indicates "maximum" or "whitest" color.
; See help for setcolor() under Borland.
; Colors are changed with the arrow keys on the glove.
startColor=-1
[2.Graphics]
fillMode=8
gloveActive=1
handActive=1
infoActive=1
leaveTrails=0
showGestures=1
startColor=-1
; I haven't played with the smoothing
; parameters too much. Read the code
; for detailed info, & let me know if
; you come up with a good combination.
[1.Smoothing]
RotExtendTime=3
RotHystQuanta=0
RotMaxAccel=2
RotMaxPixelJump=0
XextendTime=5
XhystQuanta=2
XmaxAccel=1
XmaxPixelJump=50
YextendTime=5
YhystQuanta=2
YmaxAccel=1
YmaxPixelJump=50
ZextendTime=3
ZhystQuanta=0
ZmaxAccel=1
ZmaxPixelJump=0
;If smoothingEnabled does not equal "True", then none
;of the parameters in this section have any meaning.
;Personally, I prefer smoothing off. See if you can
;tell the difference.
smoothingEnabled=False
[2.Smoothing]
RotExtendTime=3
RotHystQuanta=0
RotMaxAccel=2
RotMaxPixelJump=0
XextendTime=3
XhystQuanta=2
XmaxAccel=8
XmaxPixelJump=50
YextendTime=3
YhystQuanta=2
YmaxAccel=8
YmaxPixelJump=50
ZextendTime=3
ZhystQuanta=0
ZmaxAccel=8
ZmaxPixelJump=0
smoothingEnabled=False
; priority clickcount deltaX...deltaRotation Thumb...Ring Keys
[1.Gestures]
AButton=100 1 X X X X X X X X A
BButton=100 1 X X X X X X X X B
Example1=100 80 X X 30 5 *0 *0 X *0 X
;GloveGesture3=200 50 X X X X 3 3 3 3 X
;test=100 60 1 2 3 4 3 2 1 0 X
Example2=100 40 *0 *0 X X -3 -3 X -3 X
FastPunch=200 80 X X -30 X X X X X X
IndexFingIn=100 120 X X X X 0 3 0 0 X
MiddleFingIn=100 120 X X X X 0 0 3 0 X
RingFingIn=100 120 X X X X 0 0 0 3 X
SlowPunch=100 150 X X -30 X X X X X X
ThumbIn=100 120 X X X X 3 0 0 0 X
; priority clickcount deltaX...deltaRotation Thumb...Ring Keys
[2.Gestures]
MoveDown=100 50 X -100 X X X X X X X
MoveLeft=100 50 -100 X X X X X X X X
MoveRight=100 50 100 X X X X X X X X
MoveUp=100 50 X 100 X X X X X X X
; Following gestures are for DEMO4B.EXE.
;Up=100 1 X X X X X X X X Up
;Down=100 1 X X X X X X X X Down
;Left=100 1 X X X X X X X X Left
;Right=100 1 X X X X X X X X Right
;ExtremeUp=100 1 X X X X X *0 X X Up
;ExtremeDown=100 1 X X X X X *0 X X Down
;ExtremeLeft=100 1 X X X X X *0 X X Left
;ExtremeRight=100 1 X X X X X *0 X X Right
;Mode1On=100 1 X X X X *0 X X X X
;Mode2On=100 1 X X X X X X *0 X X
[1.Rend386]
; Use the "traditional" object movement gestures.
Move=100 1 X X X X X *0 *0 *0 X
Select=200 1 X X X X X *3 *0 *0 X
Twist=200 1 X X X X X *0 *3 *3 X
; Move your hand toward you to move backwards.
Down=100 1 X X *30 X X X X X X
; Move your hand left to turn left.
Left=100 1 *-80 X X X X X X X X
; Move your hand right to turn right.
Right=100 1 *80 X X X X X X X X
; Move your hand down to move down.
StraightDown=100 1 X *-50 X X X X X X X
; Move your hand up to move up.
StraightUp=100 1 X *50 X X X X X X X
; Twist your wrist right to tilt your head up.
TiltUp=100 1 X X X *5 X X X X X
; Twist your wrist left to tilt your head down.
TiltDown=100 1 X X X *-5 X X X X X
; Move your hand away from you to move forward.
Up=100 1 X X *-12 X X X X X X
; Hold in your thumb to ACCELERATE! Whoa!
GeneralExtreme=100 1 X X X X *0 X X X X
; Following gestures are for DEMO4B.EXE.
[2.Rend386]
Move=100 1 X X X X X *0 *0 *0 X
Select=200 1 X X X X X *3 *0 *0 X
Twist=200 1 X X X X X *0 *3 *3 X
[Buttons]
A=100 1 X X X X X X X X A
B=100 1 X X X X X X X X B
Down=100 1 X X X X X X X X Down
Eight=100 1 X X X X X X X X 8
Enter=100 1 X X X X X X X X Enter
Five=100 1 X X X X X X X X 5
Four=100 1 X X X X X X X X 4
Left=100 1 X X X X X X X X Left
Nine=100 1 X X X X X X X X 9
One=100 1 X X X X X X X X 1
Right=100 1 X X X X X X X X Right
Select=100 1 X X X X X X X X Enter
Seven=100 1 X X X X X X X X 7
Six=100 1 X X X X X X X X 6
Start=100 1 X X X X X X X X Start
Three=100 1 X X X X X X X X 3
Two=100 1 X X X X X X X X 2
Up=100 1 X X X X X X X X Up
; The program determines the parallel port for the glove
; as follows: It checks 0x378 for an active glove,
; then it checks 0x278, then it checks the value in
; HexAlternatePort below. This process repeats
; indefinitely. If you have a weird parallel port,
; find out its address and plug it in below.
[Parallel Port]
HexAlternatePort=0x3BC
; If the SearchingAlgorithm setting is Right-Left,
; the program searches for a glove on the D0-D1 pins
; of all the parallel ports, and then searches for
; a glove on the D2-D3 pins of all the parallel ports.
; Also, the software switches the Index and Ring fingers
; when reading data from the the left hand, and
; gloveDriver::getPolarity returns True or False
; depending on which driver is queried.
; SearchingAlgorithm can also be Left-Left
; which mean the driver searches only for Left hands.
; The default is Right-Right, which does pretty much
; what you would expect, use two right handed gloves.
SearchingAlgorithm=Right-Right
; The following section is a lookup for gestures in
; the [1.Gestures] and [2.Gestures] sections. On the
; right hand side is the name of a gesture defined in
; one of the other sections. On the left hand side
; is the filename of an audio "Wave" file that will
; be played when you make the corresponding gesture.
[Sounds]
AButton=c:\windows\mmdata\chord.wav
BButton=c:\windows\mmdata\chimes.wav
FastPunch=c:\windows\mmdata\gong.wav
MoveDown=c:\windows\mmdata\vault.wav
MoveUp=c:\windows\mmdata\shieldon.wav
SlowPunch=c:\windows\mmdata\bartcool.wav
; It should not be necessary to change the
; timing settings. If the sensor LEDs
; blink on and off while program is running,
; you might try adjusting these, but don't
; get your hopes up. MillisecsPerSample
; can be adjusted, but this value gives
; pretty good resolution even for fast apps.
; (By the way, it is not an EXACT value.)
; Run INITGLOV.EXE from DOS ONLY in order to
; set these values correctly for your machine!!
[Timings]
; Before the graphics start, a record of the
; machine timing parameters gets printed.
; These parameters may take a few seconds to
; compute, so to avoid this (slight) delay,
; you can plug in the report values here.
; DISADVANTAGE - if your machine has two speeds,
; values need to be changed for each speed.
; Also, if you give your friend a copy of this
; program, there's a good chance the values will
; need to be changed.
; Following values are for my 486/33.
;D2BITS.N=1 D2BITS.D=8 D2BYTES.N=15 D2BYTES.D=16 D2SLOW.N=9 D2SLOW.D=8
; If the glove doesn't work, and these values look
; REALLY weird after running INITGLOVE.EXE, leave me a note.
D2BITS=15
D2BYTES=70
D2SLOW=1000
MillisecsPerSample=9
; Change PolledOperation at your own risk!
PolledOperation=False
; Following gestures are for GLOVMOUS.EXE.
[Windows]
LeftButtonDoubleClick=200 1 X X X X *0 *0 X X X
LeftButtonDown=100 2 X X X X X *0 X X X
Quit=100 1 X X X X X X X X 9
RightButtonDoubleClick=200 1 X X X X *0 X *0 X X
RightButtonDown=100 2 X X X X X X *0 X X
Suspend=100 1 X X X X X X X X Start
xSensitivity=2.5
ySensitivity=2.5