home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freedom Planet Demos and Press Kit
/
fp_demo_v1.zip
/
joystick2.mfx
/
string.txt
next >
Wrap
Text File
|
2008-04-20
|
7KB
|
157 lines
1 MF2
2 Joystick 2 object
128 Joystick object 2 v1.2
129 z33z
130 Copyright ⌐ 2k8 z33z
131 An object to read the joystick/gamepad. Get the state of up to 128 joystick buttons, 6 axes and the point-of-view hat for up to 16 joysticks.
4000 Acquire as background
4001 If the joystick is acquired as background, it will still get input even if the application doesn't have focus
4002 Sync with MMF
4003 Sync with how MMF has mapped the joysticks
4004 Poll for new devices
4005 Automatically poll for new devices. Don't use this option with Vista!
4006 Poll joystick every loop
4007 If the extension should poll the joystick every MMF-loop
5000 01Ignore control %s
5001 Joystick 1 to 16
5005 01Restore control %s
5010 01Reset last button pressed on joystick %s
5015 01Reset last button released on joystick %s
5020 Create effect from file %1 for joystick %0
5022 #Title#Select file#Filter#Force Feedback Effect|*.ffe|All files|*.*|
5025 Joystick %0 - Create effect: Gunshot, ID: %1
5026 Name to identify the effect
5030 Joystick %0 - Create effect: Vehicle, ID: %1
5035 Joystick %0 - Create effect: Crash, ID: %1
5040 Stop all effects on joystick %0
5045 Joystick %0 - Create soft rumble, ID: %1
5050 Joystick %0 - Create hard rumble, ID: %1
5055 Joystick %0 - Create custom rumble, Delay: %1 Duration: %2, Strong motor %3, Weak motor %4, ID: %5
5056 Number of times to repeat the effect
5057 Duration (seconds as float, or -1 for infinite)
5058 Strong motor (or left motor if Xbox) force (range 0 to 1)
5059 Weak motor force (or right motor if Xbox) (range 0 to 1)
5060 Start effect %1 on Joystick %0, play %2 times
5061 Number of times to play effect or -1 for infinite
5065 Stop effect %1 on Joystick %0
5070 Pause all effects on joystick %0
5080 Resume all effects on joystick %0
5085 FF: Directional Constant, Joystick %0, Duration %1, Dir %2, Strength %3, ID %4
5086 Direction in degrees, 0 is north and clock wise
5087 Strength (-10,000 through 10,000)
5090 FF: Directional Periodic, Joystick %0, Duration %1, Dir %2, Amplitude %3, Period %4, Type %5, ID %6
5091 Amplitude of the force (0 through 10,000)
5092 Period (seconds as float)
5093 Type of force (0 = Sine, 1 = Square, 2 = Triangle, 3 = Sawtooth up, 4 = Sawtooth down)
5095 FF: Directional Resistance, Joystick %0, Duration %1, Coefficient %2, Saturation %3, Type %4, ID %5
5096 Coefficient (-10,000 through 10,000)
5097 Saturation (0 through 10,000)
5098 Type of resistance (0 = Spring, 1 = Damper, 2 = Inertia)
5100 Reset joysticks
5101 Delay (seconds as float) before effect starts
5102 Offset of the effect (-10,000 through 10,000)
5103 Phase of the waveform used (0 through 35,999)
5104 Attack time (seconds as float)
5105 FF: Directional PeriodicEx, Joystick %0, Delay %1, Duration %2, Dir %3, Amplitude %4, Period %5, Offset %6, Phase %7, AttackTime %8, AttackLevel %9, FadeTime %A, FadeLevel %B, Type %C, ID %D
5106 Attack level (0 through 10,000)
5107 Fade time (seconds as float)
5108 Fade level (0 through 10,000)
5110 Delete effect %1 from joystick %0
5115 Delete all effects from joystick %0
5120 Joystick %0 - Create effect: Explosion, ID: %1
5125 Joystick %0 - Create effect: Boing, ID: %1
5130 Joystick %0 - Create effect: Bump, Dir: %1, ID: %2
5135 Joystick %0 - Create effect: Minigun, ID: %1
5140 Joystick %0 - Create effect: Crossbow, ID: %1
5145 Joystick %0 - Create effect: Dirt, ID: %1
5150 Joystick %0 - Create effect: Energy, ID: %1
5155 Joystick %0 - Create effect: Laser, ID: %1
5160 Joystick %0 - Create effect: Light saber, ID: %1
5165 Joystick %0 - Create effect: Offroad, ID: %1
5170 Joystick %0 - Create effect: Rolling, ID: %1
5175 Map right stick axis for joystick %0 to up/down: %1, left/right %2
5176 Up/down axis (0 = X, 1 = Y, 2 = Z, 3 = X Rot, 4 = YRot, 5 = X Rot, 6 = Slider)
5177 Left/right axis (0 = X, 1 = Y, 2 = Z, 3 = X Rot, 4 = YRot, 5 = X Rot, 6 = Slider)
5180 Poll for new devices
6000 11%s: Repeat while pressed joystick %s button %s
6001 Joystick 1 to 16
6002 Button 1 to 128
6005 11%s: Repeat while any button pressed on joy %s
6010 11%s: Joystick %s is attached
6015 11%s: Joystick %s is ignored
6020 11%s: Joystick %s button %s is pressed
6025 11%s: Joystick %s button %s is pressed down
6030 11%s: Joystick %s button %s is released
6035 11%s: Any button on joystick %s is pressed
6040 11%s: Point-of-view joystick %s is forward
6045 11%s: Point-of-view joystick %s is backward
6050 11%s: Point-of-view joystick %s is left
6055 11%s: Point-of-view joystick %s is right
6060 11%s: Point-of-view joystick %s is centered
6065 11%s: Joystick %s button %s is changed
6070 11%s: Joystick %s button %s is exclusive pressed
6075 11%s: Joystick %s button %s is exclusive released
6080 11%s: Any button on joystick %s is released
6085 11%s: Direction of the joystick %s is %s
6086 Direction 0 - 8 counter-clockwise starting with right (8 is centered)
6090 %o: Joystick %0 button %1 AND %2
6095 %o: Joystick %0 button %1 AND %2 AND %3
6100 %o: Joystick %0 button %1 OR %2
6105 %o: Joystick %0 button %1 OR %2 OR %3
6110 11%s: Joystick %s has Z-axis
6115 11%s: Joystick %s has X-rotation
6120 11%s: Joystick %s has Y-rotation
6125 11%s: Joystick %s has Z-rotation
6130 11%s: Joystick %s has Poin-Of-View
6135 11%s: Direction of the joystick %s is changed
6140 11%s: Joystick %s has force feedback
6145 11%s: Joystick %s has slider
6150 %o: Controller %0 is gamepad
6155 %o: Controller %0 is joystick
6160 %o: Controller %0 is steering wheel
6165 %o: Controller %0 is Xbox controller
6170 11%s: Right stick direction of the joystick %s is %s
6175 11%s: Right stick direction of the joystick %s is changed
7000 RawX(
7001 Joystick 1 to 16
7005 RawY(
7010 RawZ(
7015 Raw XRotation(
7020 Raw YRotation(
7025 Raw ZRotation(
7030 POVDegrees(
7035 MinX(
7040 MinY(
7045 MinZ(
7050 Min XRotation(
7055 Min YRotation(
7060 Min ZRotation(
7065 MaxX(
7070 MaxY(
7075 MaxZ(
7080 Max XRotation(
7085 Max YRotation(
7090 Max ZRotation(
7095 MaxAxis(
7100 MaxButtons(
7105 JoyDir(
7110 LastButtonPressed(
7115 LastButtonReleased(
7120 NrOfJoysticks(
7125 LastErrorCode(
7130 JoyDeg(
7135 Joystick Type(
7140 Joystick Capabilities(
7145 Min slider(
7150 Max slider(
7155 Slider value(
7160 DeviceName$(
7165 JoyDistance(
7166 Axis (0 = X, 1 = Y, 2 = Z)
7170 RightStickDistance(
7171 Axis (0 = LeftRight, 1 = UpDown)
7175 RightStickDir(
7180 RightStickDeg(
7185 LastAxisChanged(
7190 LastActiveJoystick(