BitLegit

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

Turntable

Turntable functions
	bool GetTurntableButton(int remote, string s)
		int remote : the number of the remote(0-15)
		- Returns true if the button is depressed in the current frame.
		- Acceptable button types:
			"GREENLEFT" "REDLEFT" "BLUELEFT" 
			"GREENRIGHT" "REDRIGHT" "BLUERIGHT"
			"EUPHORIA" "PLUS" "MINUS"

	bool GetTurntableButtonDown(int remote, string s)
		int remote : the number of the remote(0-15)
		- Returns true if the button is depressed in the current frame but was not in the previous frame.
		- Acceptable button types:
			"GREENLEFT" "REDLEFT" "BLUELEFT" 
			"GREENRIGHT" "REDRIGHT" "BLUERIGHT"
			"EUPHORIA" "PLUS" "MINUS"

	bool GetTurntableButtonUp(int remote, string s)
		int remote : the number of the remote(0-15)
		- Returns true if the button is not depressed in the current frame but was in the previous frame.
		- Acceptable button types:
			"GREENLEFT" "REDLEFT" "BLUELEFT" 
			"GREENRIGHT" "REDRIGHT" "BLUERIGHT"
			"EUPHORIA" "PLUS" "MINUS"

	Vector2 GetTurntableAnalogStick(int remote)
		int remote : the number of the remote(0-15)
		- If a Turntable 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.

	float GetTurnTableSpin(int remote, string which)
		int remote : the number of the remote(0-15)
		string which : the type of platter you wish to check
		- Acceptable platter types:
			"LEFT" "RIGHT"
		- Returns a float representing the direction and speed of a platter's rotation. Clockwise rotation 
                  is represented by positive values, which counter clockwise rotation is represented by negative 
                  values. The rotation speed is represented in degrees per second (approximately). If a platter 
                  is spinning faster than it can register, it will use smaller values. It seems like the RIGHT 
                  platter is able to handle speeds twice as fast as those on the LEFT.

	float GetTurnTableSlider(int remote)
		int remote : the number of the remote(0-15)
		- Returns a float representing the current position of the Turntable's slider. The left and right 
                  ends correspond to -1 and 1, with the middle position corresponding to zero.

	float GetTurnTableDial(int remote)
		int remote : the number of the remote(0-15)
		- Returns a float representing the current position of the Turntable's dial.
		- The value ranges from zero to one.



Advertisements

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 )

Google+ photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s

%d bloggers like this: