<?xml version="1.0"?>
<!--
    This file is part of do228

    The do228 is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    The do228 is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with do228.  If not, see <http://www.gnu.org/licenses/>.

    Dornier DO228 simulation by Benedikt Wolf (D-ECHO)
    Started 06/2020
-->

<PropertyList>

	<path>parking_brake.ac</path>
	
	<animation>
		<type>pick</type>
		<object-name>parking_brake.lever</object-name>
		<action>
			<button>0</button>
			<binding>
				<command>property-toggle</command>
				<property>controls/gear/brake-parking</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>parking_brake.lever</object-name>
		<property>fdm/jsbsim/fcs/brake-parking</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>0.25</ind>
				<dep>0.10</dep>
			</entry>
			<entry>
				<ind>0.75</ind>
				<dep>0.10</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0.0</dep>
			</entry>
		</interpolation>
		<axis>
			<z>1</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>parking_brake.lever</object-name>
		<property>fdm/jsbsim/fcs/brake-parking</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>0.25</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>0.75</ind>
				<dep>90.0</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>90.0</dep>
			</entry>
		</interpolation>
		<axis>
			<z>-1</z>
		</axis>
	</animation>
	
</PropertyList>
