Flowgraph Plugin - Joystick
Author: James-Ryan

Version: 1.0.1.2
Date: April, 16 2009

------------------------------------------------------------------------------
- 1. About
------------------------------------------------------------------------------
This Plugin adds a custom Flowgraph Node that will allow you to receive certain
Joystick informations like the X,Y,Z joystick axis positions.

------------------------------------------------------------------------------
- 2. Usage
------------------------------------------------------------------------------
To use this Plugin you will need to have installed the Flowgraph Plugin System
into your Crysis mod folder. Extract the Plugin Dll into your FGPlugins' bin32 and bin64
folders, according to the Dll version. Note that the Plugin's installer will
correctly copy the Plugin Dll files to the right folders. Once copied, just launch
your mod in the Sandbox Editor and the included nodes will appear in the Flowgraph
Editor.

------------------------------------------------------------------------------
- 3. Node Definition
------------------------------------------------------------------------------

Name:		Input:Joystick

Purpose: 	Receives useful informations about plugged in Joysticks.

In:			Joystick - (String) Joystick Selection

Out:		X - (Int) X-axis, usually the left-right movement of a stick.
			Y - (Int) Y-axis, usually the forward-backward movement of a stick.
			Z - (Int) Z-axis, often the throttle control. If the joystick does not have this axis, the value is 0.
			X-Rotate - (Int) X-axis rotation. If the joystick does not have this axis, the value is 0.
			Y-Rotate - (Int) Y-axis rotation. If the joystick does not have this axis, the value is 0.
			Z-Rotate - (Int) Z-axis rotation (often called the rudder). If the joystick does not have this axis, the value is 0.
			Slider - (Int) Two additional axis values (formerly called the u-axis and v-axis) whose semantics depend on the joystick.
			POV - (Int) Direction controllers, such as point-of-view hats. The position is indicated in hundredths of a degree clockwise from north (away from the user). 
			            The center position is normally reported as - 1. For indicators that have only five positions, the value for a controller is - 1, 0, 9,000, 18,000, or 27,000.
			Button Pressed - (Int) Indicates which button was pressed
			Button Released - (Int) Indicates which button was released

Remarks:	There are also some LUA scriptbinds included to receive all of those informations also
			within LUA (global scriptbind name: Joystick):
			
			Joystick.GetXAxis();
			Joystick.GetYAxis();
			Joystick.GetZAxis();
			Joystick.GetXRotate();
			Joystick.GetYRotate();
			Joystick.GetZRotate();
			Joystick.GetButtonState(button);
			Joystick.SetJoystick(joystick);
			Joystick.GetNumButtons();
			Joystick.GetPOV();
			Joystick.GetSlider();
			
------------------------------------------------------------------------------
- 4. Contact
------------------------------------------------------------------------------
Name: James-Ryan
Email: neo-ryan@web.de
