<?xml version="1.0" encoding="UTF-8" ?>
<sector name="GeneralInput" >
    <tGeneralInput prototype="Entity">
        <Update>
            <!-- ********** -->
            <!-- ARROW KEYS -->
            <!-- ********** -->

            <tInputEsc prototype = "ActionCookInput">
                <iCooked> escp </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "ESC" notify = "ON_RELEASE" />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputEsc>

            <tInputUp prototype = "ActionCookInput">
                <iCooked> btup </iCooked>
                <tSequence index = "0"> 
					<fMinDuration> 0.25 </fMinDuration>
                    <tRawInput index = "0" device = 'kybd' value = "UP" notify = "ON_PRESSED" />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputUp>
            
            <tInputDown prototype = "ActionCookInput" >
                <iCooked> btdn </iCooked>
                <tSequence index = "0"> 
					<fMinDuration> 0.25 </fMinDuration>
                    <tRawInput index = "0" device = 'kybd' value = "DOWN" notify = "ON_PRESSED" />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputDown>
			
			<tInputLeft prototype = "ActionCookInput">
                <iCooked> btlt </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "LEFT"  />
<!--					<tRawInput index = "0" device = 'mous' value = "LMOUSE" /> -->
<!--					<tRawInput index = "0" device = 'mous' value = "MOTION_X_-5" /> -->
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputLeft>
            
            <tInputRight prototype = "ActionCookInput" >
                <iCooked> btrt </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "RIGHT"  />
<!--					<tRawInput index = "0" device = 'mous' value = "LMOUSE" /> -->
<!--					<tRawInput index = "0" device = 'mous' value = "MOTION_X_5" /> -->
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputRight>
            
            <!-- ************* -->
            <!-- ALPHABET KEYS -->
            <!-- ************* -->
			<tInputA prototype = "ActionCookInput">
                <iCooked> btna </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "A"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputA>
			
			<tInputB prototype = "ActionCookInput" >
                <iCooked> btnb </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "B"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputB>
			
			<tInputC prototype = "ActionCookInput" >
                <iCooked> btnc </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "C"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputC>
			
			<tInputD prototype = "ActionCookInput" >
                <iCooked> btnd </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "D"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputD>
			
			<tInputE prototype = "ActionCookInput" >
                <iCooked> btne </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "E"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputE>
			
			<tInputF prototype = "ActionCookInput" >
                <iCooked> btnf </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "F"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputF>
			
			<tInputG prototype = "ActionCookInput" >
                <iCooked> btng </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "G"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputG>
			
			<tInputH prototype = "ActionCookInput" >
                <iCooked> btnh </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "H"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputH>
			
			<tInputI prototype = "ActionCookInput" >
                <iCooked> btni </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "I"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputI>
			
			<tInputJ prototype = "ActionCookInput" >
                <iCooked> btnj </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "J"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputJ>
			
			<tInputK prototype = "ActionCookInput" >
                <iCooked> btnk </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "K"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputK>
			
			<tInputL prototype = "ActionCookInput" >
                <iCooked> btnl </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "L"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputL>
			
			<tInputM prototype = "ActionCookInput" >
                <iCooked> btnm </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "M"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputM>
			
			<tInputN prototype = "ActionCookInput" >
                <iCooked> btnn </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "N"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputN>
			
			<tInputO prototype = "ActionCookInput" >
                <iCooked> btno </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "O"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputO>
			
			<tInputP prototype = "ActionCookInput" >
                <iCooked> btnp </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "P"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputP>
			
			<tInputQ prototype = "ActionCookInput" >
                <iCooked> btnq </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "Q"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputQ>
			
			<tInputR prototype = "ActionCookInput" >
                <iCooked> btnr </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "R"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputR>
            
            <tInputS prototype = "ActionCookInput" >
                <iCooked> btns </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "S"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputS>
			
			<tInputT prototype = "ActionCookInput" >
                <iCooked> btnt </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "T"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputT>
			
			<tInputU prototype = "ActionCookInput" >
                <iCooked> btnu </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "U"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputU>
			
			<tInputV prototype = "ActionCookInput" >
                <iCooked> btnv </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "V"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputV>
            
            <tInputW prototype = "ActionCookInput" >
                <iCooked> btnw </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "W"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputW>
			
			<tInputX prototype = "ActionCookInput" >
                <iCooked> btnx </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "X"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputX>
			
			<tInputY prototype = "ActionCookInput" >
                <iCooked> btny </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "Y"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputY>
			
			<tInputZ prototype = "ActionCookInput" >
                <iCooked> btnz </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "Z"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputZ>
			
            <!-- ************* -->
            <!-- FUNCTION KEYS -->
            <!-- ************* -->
			<tInputF1 prototype = "ActionCookInput" >
                <iCooked> btf1 </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "F1"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputF1>
			
			<tInputF2 prototype = "ActionCookInput" >
                <iCooked> btf2 </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "F2"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputF2>
            
            <tInputEnter prototype = "ActionCookInput" >
                <iCooked> entr </iCooked>
                <tSequence index = "0"> 
					<fMinDuration> 0.25 </fMinDuration>
                    <tRawInput index = "0" device = 'kybd' value = "ENTER"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputEnter>
            
            <tInputSpace prototype = "ActionCookInput" >
                <iCooked> spce </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = " "  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInputSpace>

            <!-- *********** -->
            <!-- NUMBER KEYS -->
            <!-- *********** -->
            <tInput0 prototype = "ActionCookInput" >
                <iCooked> btn0 </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "0"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInput0>

            <tInput1 prototype = "ActionCookInput" >
                <iCooked> btn1 </iCooked>
                <tSequence index = "0"> 
                <tRawInput index = "0" device = 'kybd' value = "1"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInput1>

            <tInput2 prototype = "ActionCookInput" >
                <iCooked> btn2 </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "2"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInput2>


            <tInput3 prototype = "ActionCookInput" >
                <iCooked> btn3 </iCooked>
                <tSequence index = "0"> 
                    <tRawInput index = "0" device = 'kybd' value = "3"  />
                </tSequence>
                <iLatch> false </iLatch>
                <iExclusive> "false" </iExclusive>
            </tInput3>
          
          <tInput4 prototype = "ActionCookInput" >
            <iCooked> btn4 </iCooked>
            <tSequence index = "0">
              <tRawInput index = "0" device = 'kybd' value = "4"  />
            </tSequence>
            <iLatch> false </iLatch>
            <iExclusive> "false" </iExclusive>
          </tInput4>
          
          <tInput5 prototype = "ActionCookInput" >
            <iCooked> btn5 </iCooked>
            <tSequence index = "0">
              <tRawInput index = "0" device = 'kybd' value = "5"  />
            </tSequence>
            <iLatch> false </iLatch>
            <iExclusive> "false" </iExclusive>
          </tInput5>
          <tInput6 prototype = "ActionCookInput" >
            <iCooked> btn6 </iCooked>
            <tSequence index = "0">
              <tRawInput index = "0" device = 'kybd' value = "6"  />
            </tSequence>
            <iLatch> false </iLatch>
            <iExclusive> "false" </iExclusive>
          </tInput6>
          
          <tInput7 prototype = "ActionCookInput" >
            <iCooked> btn7 </iCooked>
            <tSequence index = "0">
              <tRawInput index = "0" device = 'kybd' value = "7"  />
            </tSequence>
            <iLatch> false </iLatch>
            <iExclusive> "false" </iExclusive>
          </tInput7>
        </Update>
    </tGeneralInput>
</sector>