<?xml version="1.0" encoding="utf-8" standalone="no"?>
<XnaContent>
  <!--
    *************************************
			KEYBOARD MAPPING
	**** available tweakable values *****
	A to Z (all alphabetical letter)
	0 to 9
	F1 to F12
	Up
	Down
	Left
	Right
	Space
	NumPad0 to NumPad9
	LeftShift
	RightShift
	LeftControl
	RightControl
	LeftAlt
	RightAlt
	Escape
	*************************************
	/!\ DO NOT EDIT id, only value!
	id descs:
	
	DPadUp => Move puzzle cursor, navigate in menus
	DPadDown => Move puzzle cursor, navigate in menus
	DPadLeft => Move puzzle cursor and main character, navigate in menus
	DPadRight => Move puzzle cursor and main character, navigate in menus
	
	Start => Pause the game
	Back => Quit the game (on the main screen)
	
	LeftStick => Not used
	RightStick => Not used except in edit mode
	
	LeftShoulder => Switch matter in puzzle mode. Quick navigate in level selection
	RightShoulder => Switch matter in puzzle mode. Quick navigate in level selection
	
	A => Jump with main character, pose block in puzzle mode
	B => Long hold: destroy the main character (restart level), undo last pose in puzzle mode
	X => Drill/run with main character, destroy 8+ lines of blocks in puzzle mode
	Y => EnterLeave puzzle mode
	
	RightTrigger => same as X
	LeftTrigger => Camera mode (hold) to look around in a level
	
	RightThumbstickUp => Not used except in edit mode
	RightThumbstickDown => Not used except in edit mode
	RightThumbstickRight => Not used except in edit mode
	RightThumbstickLeft => Not used except in edit mode
	
	LeftThumbstickUp => same as DPadUp
	LeftThumbstickDown => same as DPadDown
	LeftThumbstickRight => same as DPadRight
	LeftThumbstickLeft => same as DPadLeft
  -->
  <DefaultKeyboardMappings>
	<Mapping id="DPadUp" value="NumPad8"/>
	<Mapping id="DPadDown" value="NumPad2"/>
	<Mapping id="DPadLeft" value="NumPad4"/>
	<Mapping id="DPadRight" value="NumPad6"/>
	
	<Mapping id="Start" value="Escape"/>
	<Mapping id="Back" value="F1"/>
	
	<Mapping id="LeftStick" value="LeftControl"/>
	<Mapping id="RightStick" value="RightControl"/>
	
	<Mapping id="LeftShoulder" value="R"/>
	<Mapping id="RightShoulder" value="T"/>
	
	<Mapping id="A" value="Space"/>
	<Mapping id="B" value="W"/>
	<Mapping id="X" value="F"/>
	<Mapping id="Y" value="E"/>
	
	<Mapping id="RightTrigger" value="D"/>
	<Mapping id="LeftTrigger" value="C"/>
	
	<Mapping id="RightThumbstickUp" value="I"/>
	<Mapping id="RightThumbstickDown" value="K"/>
	<Mapping id="RightThumbstickRight" value="L"/>
	<Mapping id="RightThumbstickLeft" value="J"/>
	
	<Mapping id="LeftThumbstickUp" value="Up"/>
	<Mapping id="LeftThumbstickDown" value="Down"/>
	<Mapping id="LeftThumbstickRight" value="Right"/>
	<Mapping id="LeftThumbstickLeft" value="Left"/>
  </DefaultKeyboardMappings>
  
  <CustomKeyboardMappings>
	<Mapping id="DPadUp" value="NumPad8"/>
	<Mapping id="DPadDown" value="NumPad2"/>
	<Mapping id="DPadLeft" value="NumPad4"/>
	<Mapping id="DPadRight" value="NumPad6"/>
	
	<Mapping id="Start" value="Escape"/>
	<Mapping id="Back" value="F1"/>
	
	<Mapping id="LeftStick" value="LeftControl"/>
	<Mapping id="RightStick" value="RightControl"/>
	
	<Mapping id="LeftShoulder" value="R"/>
	<Mapping id="RightShoulder" value="T"/>
	
	<Mapping id="A" value="Space"/>
	<Mapping id="B" value="W"/>
	<Mapping id="X" value="F"/>
	<Mapping id="Y" value="E"/>
	
	<Mapping id="RightTrigger" value="D"/>
	<Mapping id="LeftTrigger" value="C"/>
	
	<Mapping id="RightThumbstickUp" value="I"/>
	<Mapping id="RightThumbstickDown" value="K"/>
	<Mapping id="RightThumbstickRight" value="L"/>
	<Mapping id="RightThumbstickLeft" value="J"/>
	
	<Mapping id="LeftThumbstickUp" value="Up"/>
	<Mapping id="LeftThumbstickDown" value="Down"/>
	<Mapping id="LeftThumbstickRight" value="Right"/>
	<Mapping id="LeftThumbstickLeft" value="Left"/>
  </CustomKeyboardMappings>
  <!--
	*************************************
			GAMEPAD MAPPING
    *************************************
	**** available tweakable values *****
		Button01,
		Button02,
		Button03,
		Button04,
		Button05,
		Button06,
		Button07,
		Button08,
		Button09,
		Button10,
		Button11,
		Button12,
		Button13,
		Button14,
		Button15,
		Button16,
		Button17,
		Button18,
		Button19,
		Button20,
		Button21,
		Button22,
		Button23,
		Button24,
		Button25,
		Button26,
		Button27,
		Button28,
		Button29,
		Button30,
		
		Axis_01,
		Axis_02,
		Axis_03,
		Axis_04,
		Axis_05,
		Axis_06,
		Axis_07,
		
		Axis_01_pos,
		Axis_01_neg,
		Axis_02_pos,
		Axis_02_neg,
		Axis_03_pos,
		Axis_03_neg,
		Axis_04_pos,
		Axis_04_neg,
		
		Axis_01_pos_inv,
		Axis_01_neg_inv,
		Axis_02_pos_inv,
		Axis_02_neg_inv,
		Axis_03_pos_inv,
		Axis_03_neg_inv,
		Axis_04_pos_inv,
		Axis_04_neg_inv,
		
		Axis_Z,
        Axis_RZ,
		
		Axis_Z_pos,
		Axis_Z_neg,
		
		PovX_pos,
		PovX_neg,
		
		PovY_pos,
		PovY_neg,
		
		None
	*************************************
	-->
  <GamepadValidNames>
	<Name value="controller"/>
	<Name value="joystick"/>
	<Name value="gamepad"/>
	<Name value="rumblepad"/>
	<Name value=" pad"/>
  </GamepadValidNames>
  
	<CustomGamepadMappings>
		
		
		
    
    <GamepadMappings force="0" name="Logitech RumblePad 2 USB" os="Windows">
            <GamepadMapping id="LeftThumbstickUp" value="Axis_03_neg"/>
            <GamepadMapping id="LeftThumbstickDown" value="Axis_03_pos"/>
            <GamepadMapping id="LeftThumbstickLeft" value="Axis_04_neg"/>
            <GamepadMapping id="LeftThumbstickRight" value="Axis_04_pos"/>
            <GamepadMapping id="RightThumbstickUp" value="Axis_01_neg"/>
            <GamepadMapping id="RightThumbstickDown" value="Axis_01_pos"/>
            <GamepadMapping id="RightThumbstickLeft" value="Axis_02_neg"/>
            <GamepadMapping id="RightThumbstickRight" value="Axis_02_pos"/>
            <GamepadMapping id="LeftTrigger" value="Button07"/>
            <GamepadMapping id="RightTrigger" value="Button08"/>
            <GamepadMapping id="DPadUp" value="PovY_neg"/>
            <GamepadMapping id="DPadDown" value="PovY_pos"/>
            <GamepadMapping id="DPadLeft" value="PovX_neg"/>
            <GamepadMapping id="DPadRight" value="PovX_pos"/>
            <GamepadMapping id="Start" value="Button10"/>
            <GamepadMapping id="Back" value="Button09"/>
            <GamepadMapping id="LeftStick" value="Button11"/>
            <GamepadMapping id="RightStick" value="Button12"/>
            <GamepadMapping id="LeftShoulder" value="Button05"/>
            <GamepadMapping id="RightShoulder" value="Button06"/>
            <GamepadMapping id="A" value="Button02"/>
            <GamepadMapping id="B" value="Button03"/>
            <GamepadMapping id="X" value="Button01"/>
            <GamepadMapping id="Y" value="Button04"/>
        </GamepadMappings>
    <GamepadMappings force="0" name="XBOX 360 For Windows (Controller)" os="Windows">
            <GamepadMapping id="LeftThumbstickUp" value="Axis_01_neg"/>
            <GamepadMapping id="LeftThumbstickDown" value="Axis_01_pos"/>
            <GamepadMapping id="LeftThumbstickLeft" value="Axis_02_neg"/>
            <GamepadMapping id="LeftThumbstickRight" value="Axis_02_pos"/>
            <GamepadMapping id="RightThumbstickUp" value="Axis_03_neg"/>
            <GamepadMapping id="RightThumbstickDown" value="Axis_03_pos"/>
            <GamepadMapping id="RightThumbstickLeft" value="Axis_04_neg"/>
            <GamepadMapping id="RightThumbstickRight" value="Axis_04_pos"/>
            <GamepadMapping id="LeftTrigger" value="Axis_05_pos"/>
            <GamepadMapping id="RightTrigger" value="Axis_05_neg"/>
            <GamepadMapping id="DPadUp" value="PovY_neg"/>
            <GamepadMapping id="DPadDown" value="PovY_pos"/>
            <GamepadMapping id="DPadLeft" value="PovX_neg"/>
            <GamepadMapping id="DPadRight" value="PovX_pos"/>
            <GamepadMapping id="Start" value="Button08"/>
            <GamepadMapping id="Back" value="Button07"/>
            <GamepadMapping id="LeftStick" value="Button09"/>
            <GamepadMapping id="RightStick" value="Button10"/>
            <GamepadMapping id="LeftShoulder" value="Button05"/>
            <GamepadMapping id="RightShoulder" value="Button06"/>
            <GamepadMapping id="A" value="Button01"/>
            <GamepadMapping id="B" value="Button02"/>
            <GamepadMapping id="X" value="Button03"/>
            <GamepadMapping id="Y" value="Button04"/>
        </GamepadMappings>
    
    <GamepadMappings force="0" name="Controller (XBOX 360 For Windows)" os="Windows">
            <GamepadMapping id="LeftThumbstickUp" value="Axis_01_neg"/>
            <GamepadMapping id="LeftThumbstickDown" value="Axis_01_pos"/>
            <GamepadMapping id="LeftThumbstickLeft" value="Axis_02_neg"/>
            <GamepadMapping id="LeftThumbstickRight" value="Axis_02_pos"/>
            <GamepadMapping id="RightThumbstickUp" value="Axis_03_neg"/>
            <GamepadMapping id="RightThumbstickDown" value="Axis_03_pos"/>
            <GamepadMapping id="RightThumbstickLeft" value="Axis_04_neg"/>
            <GamepadMapping id="RightThumbstickRight" value="Axis_04_pos"/>
            <GamepadMapping id="LeftTrigger" value="Axis_05_pos"/>
            <GamepadMapping id="RightTrigger" value="Axis_05_neg"/>
            <GamepadMapping id="DPadUp" value="PovY_neg"/>
            <GamepadMapping id="DPadDown" value="PovY_pos"/>
            <GamepadMapping id="DPadLeft" value="PovX_neg"/>
            <GamepadMapping id="DPadRight" value="PovX_pos"/>
            <GamepadMapping id="Start" value="Button08"/>
            <GamepadMapping id="Back" value="Button07"/>
            <GamepadMapping id="LeftStick" value="Button09"/>
            <GamepadMapping id="RightStick" value="Button10"/>
            <GamepadMapping id="LeftShoulder" value="Button05"/>
            <GamepadMapping id="RightShoulder" value="Button06"/>
            <GamepadMapping id="A" value="Button01"/>
            <GamepadMapping id="B" value="Button02"/>
            <GamepadMapping id="X" value="Button03"/>
            <GamepadMapping id="Y" value="Button04"/>
        </GamepadMappings>
    
    
    
    
    <GamepadMappings force="0" name="PLAYSTATION(R)3 Controller" os="Windows">
            <GamepadMapping id="LeftThumbstickUp" value="Axis_03_neg"/>
            <GamepadMapping id="LeftThumbstickDown" value="Axis_03_pos"/>
            <GamepadMapping id="LeftThumbstickLeft" value="Axis_04_neg"/>
            <GamepadMapping id="LeftThumbstickRight" value="Axis_04_pos"/>
            <GamepadMapping id="RightThumbstickUp" value="Axis_01_neg"/>
            <GamepadMapping id="RightThumbstickDown" value="Axis_01_pos"/>
            <GamepadMapping id="RightThumbstickLeft" value="Axis_02_neg"/>
            <GamepadMapping id="RightThumbstickRight" value="Axis_02_pos"/>
            <GamepadMapping id="LeftTrigger" value="Button09"/>
            <GamepadMapping id="RightTrigger" value="Button10"/>
            <GamepadMapping id="DPadUp" value="Button05"/>
            <GamepadMapping id="DPadDown" value="Button07"/>
            <GamepadMapping id="DPadLeft" value="Button08"/>
            <GamepadMapping id="DPadRight" value="Button06"/>
            <GamepadMapping id="Start" value="Button04"/>
            <GamepadMapping id="Back" value="Button01"/>
            <GamepadMapping id="LeftStick" value="Button02"/>
            <GamepadMapping id="RightStick" value="Button03"/>
            <GamepadMapping id="LeftShoulder" value="Button11"/>
            <GamepadMapping id="RightShoulder" value="Button12"/>
            <GamepadMapping id="A" value="Button15"/>
            <GamepadMapping id="B" value="Button14"/>
            <GamepadMapping id="X" value="Button16"/>
            <GamepadMapping id="Y" value="Button13"/>
        </GamepadMappings>
    </CustomGamepadMappings>
  
  <DefaultGamepadMappings>
	  <GamepadMappings os="Windows">
		<GamepadMapping id="LeftThumbstickUp" value="Axis_01_pos"/>
		<GamepadMapping id="LeftThumbstickDown" value="Axis_01_neg"/>
		<GamepadMapping id="LeftThumbstickLeft" value="Axis_02_neg"/>
		<GamepadMapping id="LeftThumbstickRight" value="Axis_02_pos"/>
		
		<GamepadMapping id="RightThumbstickUp" value="Axis_03_pos_inv"/>
		<GamepadMapping id="RightThumbstickDown" value="Axis_03_neg_inv"/>
		<GamepadMapping id="RightThumbstickLeft" value="Axis_04_neg"/>
		<GamepadMapping id="RightThumbstickRight" value="Axis_04_pos"/>
		
		<GamepadMapping id="LeftTrigger" value="Axis_Z_pos"/>
		<GamepadMapping id="RightTrigger" value="Axis_Z_neg"/>
		
		<GamepadMapping id="DPadUp" value="PovY_neg"/>
		<GamepadMapping id="DPadDown" value="PovY_pos"/>
		<GamepadMapping id="DPadLeft" value="PovX_neg"/>
		<GamepadMapping id="DPadRight" value="PovX_pos"/>
		
		<GamepadMapping id="Start" value="Button08"/>
		<GamepadMapping id="Back" value="Button07"/>
		
		<GamepadMapping id="LeftStick" value="Button09"/>
		<GamepadMapping id="RightStick" value="Button10"/>
		
		<GamepadMapping id="LeftShoulder" value="Button05"/>
		<GamepadMapping id="RightShoulder" value="Button06"/>
		
		<GamepadMapping id="A" value="Button01"/>
		<GamepadMapping id="B" value="Button02"/>
		<GamepadMapping id="X" value="Button03"/>
		<GamepadMapping id="Y" value="Button04"/>
	  </GamepadMappings>
	  
	  <GamepadMappings os="OSX">
		<GamepadMapping id="LeftThumbstickUp" value="Axis_02_pos"/>
		<GamepadMapping id="LeftThumbstickDown" value="Axis_02_neg"/>
		<GamepadMapping id="LeftThumbstickLeft" value="Axis_01_pos"/>
		<GamepadMapping id="LeftThumbstickRight" value="Axis_01_neg"/>
		
		<GamepadMapping id="RightThumbstickUp" value="Axis_03_pos_inv"/>
		<GamepadMapping id="RightThumbstickDown" value="Axis_03_neg_inv"/>
		<GamepadMapping id="RightThumbstickLeft" value="Axis_04_neg"/>
		<GamepadMapping id="RightThumbstickRight" value="Axis_04_pos"/>
		
		<GamepadMapping id="LeftTrigger" value="Axis_Z"/>
		<GamepadMapping id="RightTrigger" value="Axis_RZ"/>
		
		<GamepadMapping id="DPadUp" value="Button01"/>
		<GamepadMapping id="DPadDown" value="Button02"/>
		<GamepadMapping id="DPadLeft" value="Button03"/>
		<GamepadMapping id="DPadRight" value="Button04"/>
		
		<GamepadMapping id="Start" value="Button05"/>
		<GamepadMapping id="Back" value="Button06"/>
		
		<GamepadMapping id="LeftStick" value="Button07"/>
		<GamepadMapping id="RightStick" value="Button08"/>
		
		<GamepadMapping id="LeftShoulder" value="Button09"/>
		<GamepadMapping id="RightShoulder" value="Button10"/>
		
		<GamepadMapping id="A" value="Button12"/>
		<GamepadMapping id="B" value="Button13"/>
		<GamepadMapping id="X" value="Button14"/>
		<GamepadMapping id="Y" value="Button15"/>
	  </GamepadMappings>
	  
	  <GamepadMappings forceIndex="1" os="Linux">
		<GamepadMapping id="LeftThumbstickUp" value="Axis_03_pos"/>
		<GamepadMapping id="LeftThumbstickDown" value="Axis_03_neg"/>
		<GamepadMapping id="LeftThumbstickLeft" value="Axis_02_neg"/>
		<GamepadMapping id="LeftThumbstickRight" value="Axis_02_pos"/>
		
		<GamepadMapping id="RightThumbstickUp" value="Axis_RZ"/>
		<GamepadMapping id="RightThumbstickDown" value="Axis_03_pos_inv"/>
		<GamepadMapping id="RightThumbstickLeft" value="Axis_04_neg"/>
		<GamepadMapping id="RightThumbstickRight" value="Axis_04_pos"/>
		
		<GamepadMapping id="LeftTrigger" value="Axis_Z"/>
		<GamepadMapping id="RightTrigger" value="Axis_07"/>
		
		<GamepadMapping id="DPadUp" value="PovY_neg"/>
		<GamepadMapping id="DPadDown" value="PovY_pos"/>
		<GamepadMapping id="DPadLeft" value="PovX_neg"/>
		<GamepadMapping id="DPadRight" value="PovX_pos"/>
		
		<GamepadMapping id="Start" value="Axis_01"/>
		<GamepadMapping id="Back" value="Button10"/>
		
		<GamepadMapping id="LeftStick" value="Button08"/>
		<GamepadMapping id="RightStick" value="Button09"/>
		
		<GamepadMapping id="LeftShoulder" value="Button05"/>
		<GamepadMapping id="RightShoulder" value="Button06"/>
		
		<GamepadMapping id="A" value="Button01"/>
		<GamepadMapping id="B" value="Button02"/>
		<GamepadMapping id="X" value="Button03"/>
		<GamepadMapping id="Y" value="Button04"/>
	  </GamepadMappings>
	</DefaultGamepadMappings>
</XnaContent>
