<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EDL PUBLIC "-//OPENEMULATOR//DTD EDL 1.0//EN" "http://www.openemulator.org/DTD/edl-1.0.dtd">
<edl version="1.0" creator="OpenEmulator" framework="787" label="Apple Hand Controllers" image="images/Apple/Apple Hand Controllers.png" description="The Apple Hand Controllers are a pair of game controllers for Apple II computers.">
    
    <device id="appleHandControllers" label="Apple Hand Controllers" image="images/Apple/Apple Hand Controllers.png">
        <setting ref="appleHandControllers.io" name="inputDevice" label="Input Device" type="select" options="Mouse,Joystick,None"/>
        <setting ref="appleHandControllers.io" name="axis0" label="PDL0" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="axis1" label="PDL1" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="axis2" label="PDL2" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="axis3" label="PDL3" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="button0" label="PB0" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="button1" label="PB1" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="button2" label="PB2" type="select" options=""/>
        <setting ref="appleHandControllers.io" name="sensitivityAxis0" label="PDL0 Sensitivity" type="slider" options="-10,10"/>
        <setting ref="appleHandControllers.io" name="sensitivityAxis1" label="PDL1 Sensitivity" type="slider" options="-10,10"/>
        <setting ref="appleHandControllers.io" name="sensitivityAxis2" label="PDL2 Sensitivity" type="slider" options="-10,10"/>
        <setting ref="appleHandControllers.io" name="sensitivityAxis3" label="PDL3 Sensitivity" type="slider" options="-10,10"/>
        <setting ref="appleHandControllers.io" name="reverseAxis0" label="PDL0 Reverse" type="checkbox"/>
        <setting ref="appleHandControllers.io" name="reverseAxis1" label="PDL1 Reverse" type="checkbox"/>
        <setting ref="appleHandControllers.io" name="reverseAxis2" label="PDL2 Reverse" type="checkbox"/>
        <setting ref="appleHandControllers.io" name="reverseAxis3" label="PDL3 Reverse" type="checkbox"/>
    </device>
    <connector id="appleHandControllers.connector" type="Apple II Game Port">
        <inlet ref="appleHandControllers.io" property="canvas" outletRef="video"/>
    </connector>
    <component id="appleHandControllers.io" class="JoystickMapper">
        <property name="inputDevice" value="Mouse"/>
        <property name="deviceId" value="0"/>
        <property name="axis0" value="Mouse X"/>
        <property name="axis1" value="Mouse Y"/>
        <property name="axis2" value="Unmapped"/>
        <property name="axis3" value="Unmapped"/>
        <property name="button0" value="Mouse Button 1"/>
        <property name="button1" value="Mouse Button 2"/>
        <property name="button2" value="Mouse Button 3"/>
        <property name="sensitivityAxis0" value="0"/>
        <property name="sensitivityAxis1" value="0"/>
        <property name="sensitivityAxis2" value="0"/>
        <property name="sensitivityAxis3" value="0"/>
        <property name="reverseAxis0" value="0"/>
        <property name="reverseAxis1" value="0"/>
        <property name="reverseAxis2" value="0"/>
        <property name="reverseAxis3" value="0"/>
        <property name="mapMouse" value="axis0,Mouse X,0,0,axis1,Mouse Y,0,0,axis2,Unmapped,0,0,axis3,Unmapped,0,0,button0,Mouse Button 1,0,0,button1,Mouse Button 2,0,0,button2,Mouse Button 3,0,0"/>
        <property name="mapJoystick" value="axis0,Joystick 1 X-Axis,0,0,axis1,Joystick 1 Y-Axis,0,0,axis2,Joystick 1 Z-Rotation,0,0,axis3,Joystick 1 Slider,0,0,button0,Joystick 1 Button 1,0,0,button1,Joystick 1 Button 2,0,0,button2,Joystick 1 Button 3,0,0"/>
        <property name="mapNone" value="axis0,Unmapped,0,0,axis1,Unmapped,0,0,axis2,Unmapped,0,0,axis3,Unmapped,0,0,button0,Unmapped,0,0,button1,Unmapped,0,0,button2,Unmapped,0,0"/>
        <property name="device" ref="appleHandControllers"/>
        <property name="canvas" ref=""/>
        <property name="joystick" ref="joystick"/>
    </component>
    
</edl>
