BitLegit

Just a couple of kids tryin' to make it on their own.

Nunchuck

Nunchuck functions
	Vector2 GetNunchuckAnalogStick(int remote)
		int remote : the number of the remote(0-15)
		- If a nunchuck is attached to this wiimote, a Vector2 is returned representing its analog stick's 
                  x and y values.
		- Values are returned on a scale between approximately -1 and 1.

	bool GetNunchuckButton(int remote, string s)
		int remote : the number of the remote(0-15)
			- Returns false if nunchuck is not attached to this wiimote.
		string s : the type of button you wish to check
			- Returns true if the button is depressed in the current frame
		- Acceptable button types:
			"C" "Z"

	bool GetNunchuckButtonDown(int remote, string s)
		int remote : the number of the remote(0-15)
		string s : the type of button you wish to check
			- Returns true if the button is depressed in the current frame but was not in the previous 
                          frame.
		- Acceptable button types:
			"C" "Z"

	bool GetNunchuckButtonUp(int remote, string s)
		int remote : the number of the remote(0-15)
		string s : the type of button you wish to check
			- Returns true if the button is not depressed in the current frame but was in the previous 
                          frame.
		- Acceptable button types:
			"C" "Z"

	Vector3 GetNunchuckAcceleration(int remote)
		int remote : the number of the remote(0-15)
		- Returns a vector3 representing the three axes of the nun chuck's acceleration.
		- The x-axis runs from the left side to the right side.
		- The y-axis faces out through the button faces
		- The z-axis runs through the top of the analog stick to the bottom



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: