# $Id: config-60,v 1.4 2001/10/27 01:17:47 tramm Exp $
#
# This describes the control configuration for the Kyosho-60
#
[

# FA cyclic max travel:
# -90 to 85
Control->new(
	-name		=> 'FA Cyclic',
	-servo		=> 0,
	-axis		=> 1,
	-points		=> [
		-128		=> -128,
		-90		=> -128,
		0		=> 0,
		85		=> 127,
		127		=> 127,
	],
),

# RL cyclic:
# -94 to 90
# And this is reversed
Control->new(
	-name		=> 'RL Cyclic',
	-servo		=> 1,
	-axis		=> 0,
	-points		=> [
		-128		=> 127,
		-94		=> 127,
		0		=> 0,
		90		=> -128,
		127		=> -128,
	],
),

# Collective
# -97 to 64
# This one is NOT reversed
Control->new(
	-name		=> 'Collective',
	-servo		=> 2,
	-axis		=> 3,
	-points		=> [
		-128		=> -128,
		-97		=> -128,
		0		=> 0,
		64		=> 127,
		127		=> 127,
	],
),

# Tail rotor
# -80 to 65
# Make it less sensitive in the dead-zone
Control->new(
	-name		=> 'Tail rotor',
	-servo		=> 3,
	-axis		=> 2,
	-points		=> [
		-128		=> 127,
		-80		=> 127,
	#	-30		=> 15,
		0		=> 0,
	#	30		=> -15,
		65		=> -128,
		127		=> -128,
	],
),


# Throttle
# Mapped to buttons 1 (up) and 2 (down)
Control->new(
	-name		=> 'Throttle',
	-servo		=> 4,
	-step		=> 8,
	-button_up	=> 1,
	-button_down	=> 2,
	-default	=> -128,
	-points		=> [
		-128		=> 127,
		0,		=> 0,
		127		=> -128
	],
),

];
