public GameCubeMayflashWinProfile()
 {
     base.Name             = "GameCube Controller";
     base.Meta             = "GameCube Controller on Windows via MAYFLASH adapter";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.NintendoGameCube;
     base.UpperDeadZone    = 0.7f;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "MAYFLASH GameCube Controller Adapter"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button(0)
         },
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button(1)
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button(2)
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button(3)
         },
         new InputControlMapping
         {
             Handle = "Left Trigger Button",
             Target = InputControlType.Action5,
             Source = UnityInputDeviceProfile.Button(4)
         },
         new InputControlMapping
         {
             Handle = "Right Trigger Button",
             Target = InputControlType.Action6,
             Source = UnityInputDeviceProfile.Button(5)
         },
         new InputControlMapping
         {
             Handle = "Z",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button(7)
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button(9)
         },
         new InputControlMapping
         {
             Handle = "DPad Up",
             Target = InputControlType.DPadUp,
             Source = UnityInputDeviceProfile.Button(12)
         },
         new InputControlMapping
         {
             Handle = "DPad Right",
             Target = InputControlType.DPadRight,
             Source = UnityInputDeviceProfile.Button(13)
         },
         new InputControlMapping
         {
             Handle = "DPad Down",
             Target = InputControlType.DPadDown,
             Source = UnityInputDeviceProfile.Button(14)
         },
         new InputControlMapping
         {
             Handle = "DPad Left",
             Target = InputControlType.DPadLeft,
             Source = UnityInputDeviceProfile.Button(15)
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         new InputControlMapping
         {
             Handle      = "Left Stick Left",
             Target      = InputControlType.LeftStickLeft,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Right",
             Target      = InputControlType.LeftStickRight,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Up",
             Target      = InputControlType.LeftStickUp,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Down",
             Target      = InputControlType.LeftStickDown,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "C Up",
             Target      = InputControlType.RightStickUp,
             Source      = UnityInputDeviceProfile.Analog(2),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "C Down",
             Target      = InputControlType.RightStickDown,
             Source      = UnityInputDeviceProfile.Analog(2),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "C Left",
             Target      = InputControlType.RightStickLeft,
             Source      = UnityInputDeviceProfile.Analog(5),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "C Right",
             Target      = InputControlType.RightStickRight,
             Source      = UnityInputDeviceProfile.Analog(5),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog(3),
             SourceRange = InputRange.MinusOneToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog(4),
             SourceRange = InputRange.MinusOneToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Left",
             Target      = InputControlType.DPadLeft,
             Source      = UnityInputDeviceProfile.Analog(6),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Right",
             Target      = InputControlType.DPadRight,
             Source      = UnityInputDeviceProfile.Analog(6),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Up",
             Target      = InputControlType.DPadUp,
             Source      = UnityInputDeviceProfile.Analog(7),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Down",
             Target      = InputControlType.DPadDown,
             Source      = UnityInputDeviceProfile.Analog(7),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
Example #2
0
 public EightBitdoNES30ProMacProfile()
 {
     base.Name             = "8Bitdo NES30 Pro Controller";
     base.Meta             = "8Bitdo NES30 Pro Controller on Mac";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.NintendoNES;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[2]
     {
         "Unknown 8Bitdo NES30 Pro",
         "8Bitdo NES30 Pro   8Bitdo NES30 Pro"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button(0)
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button(1)
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button(3)
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button(4)
         },
         new InputControlMapping
         {
             Handle = "L1",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button(6)
         },
         new InputControlMapping
         {
             Handle = "R1",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button(7)
         },
         new InputControlMapping
         {
             Handle = "L2",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button(8)
         },
         new InputControlMapping
         {
             Handle = "R2",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button(9)
         },
         new InputControlMapping
         {
             Handle = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button(10)
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button(11)
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button(13)
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button(14)
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle      = "Left Stick Left",
             Target      = InputControlType.LeftStickLeft,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Right",
             Target      = InputControlType.LeftStickRight,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Up",
             Target      = InputControlType.LeftStickUp,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Down",
             Target      = InputControlType.LeftStickDown,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Left",
             Target      = InputControlType.RightStickLeft,
             Source      = UnityInputDeviceProfile.Analog(2),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Right",
             Target      = InputControlType.RightStickRight,
             Source      = UnityInputDeviceProfile.Analog(2),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Up",
             Target      = InputControlType.RightStickUp,
             Source      = UnityInputDeviceProfile.Analog(3),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Down",
             Target      = InputControlType.RightStickDown,
             Source      = UnityInputDeviceProfile.Analog(3),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Left",
             Target      = InputControlType.DPadLeft,
             Source      = UnityInputDeviceProfile.Analog(4),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Right",
             Target      = InputControlType.DPadRight,
             Source      = UnityInputDeviceProfile.Analog(4),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Up",
             Target      = InputControlType.DPadUp,
             Source      = UnityInputDeviceProfile.Analog(5),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Down",
             Target      = InputControlType.DPadDown,
             Source      = UnityInputDeviceProfile.Analog(5),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
Example #3
0
 public XboxOneWin10Profile()
 {
     base.Name             = "XBox One Controller";
     base.Meta             = "XBox One Controller on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.XboxOne;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     base.ExcludePlatforms = new string[2]
     {
         "Windows 7",
         "Windows 8"
     };
     base.MaxSystemBuildNumber = 14392;
     JoystickNames             = new string[2]
     {
         "Controller (Xbox One For Windows)",
         "Xbox Bluetooth Gamepad"
     };
     base.ButtonMappings = new InputControlMapping[11]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button(0)
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button(1)
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button(2)
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button(3)
         },
         new InputControlMapping
         {
             Handle = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button(4)
         },
         new InputControlMapping
         {
             Handle = "Right Bumper",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button(5)
         },
         new InputControlMapping
         {
             Handle = "View",
             Target = InputControlType.View,
             Source = UnityInputDeviceProfile.Button(6)
         },
         new InputControlMapping
         {
             Handle = "Menu",
             Target = InputControlType.Menu,
             Source = UnityInputDeviceProfile.Button(7)
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button(8)
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button(9)
         },
         new InputControlMapping
         {
             Handle = "Guide",
             Target = InputControlType.System,
             Source = UnityInputDeviceProfile.Button(10)
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         new InputControlMapping
         {
             Handle      = "Left Stick Left",
             Target      = InputControlType.LeftStickLeft,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Right",
             Target      = InputControlType.LeftStickRight,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Up",
             Target      = InputControlType.LeftStickUp,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Stick Down",
             Target      = InputControlType.LeftStickDown,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog(8),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Left",
             Target      = InputControlType.RightStickLeft,
             Source      = UnityInputDeviceProfile.Analog(3),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Right",
             Target      = InputControlType.RightStickRight,
             Source      = UnityInputDeviceProfile.Analog(3),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Up",
             Target      = InputControlType.RightStickUp,
             Source      = UnityInputDeviceProfile.Analog(4),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Stick Down",
             Target      = InputControlType.RightStickDown,
             Source      = UnityInputDeviceProfile.Analog(4),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog(9),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Left",
             Target      = InputControlType.DPadLeft,
             Source      = UnityInputDeviceProfile.Analog(6),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Right",
             Target      = InputControlType.DPadRight,
             Source      = UnityInputDeviceProfile.Analog(6),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Up",
             Target      = InputControlType.DPadUp,
             Source      = UnityInputDeviceProfile.Analog(7),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Down",
             Target      = InputControlType.DPadDown,
             Source      = UnityInputDeviceProfile.Analog(7),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
 public EightBitdoSFC30MacProfile()
 {
     base.Name             = "8Bitdo SFC30 Controller";
     base.Meta             = "8Bitdo SFC30 Controller on Mac";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.NintendoSNES;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[2]
     {
         "Unknown 8Bitdo SFC30 GamePad",
         "SFC30              SFC30 Joystick"
     };
     base.ButtonMappings = new InputControlMapping[8]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button(0)
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button(1)
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button(3)
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button(4)
         },
         new InputControlMapping
         {
             Handle = "L",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button(6)
         },
         new InputControlMapping
         {
             Handle = "R",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button(7)
         },
         new InputControlMapping
         {
             Handle = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button(10)
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button(11)
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         new InputControlMapping
         {
             Handle      = "DPad Left",
             Target      = InputControlType.DPadLeft,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Right",
             Target      = InputControlType.DPadRight,
             Source      = UnityInputDeviceProfile.Analog(0),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Up",
             Target      = InputControlType.DPadUp,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "DPad Down",
             Target      = InputControlType.DPadDown,
             Source      = UnityInputDeviceProfile.Analog(1),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
Example #5
0
 public Xbox360WinProfile()
 {
     base.Name             = "Xbox 360 Controller";
     base.Meta             = "Xbox 360 Controller on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Xbox360;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[30]
     {
         "AIRFLO             ",
         "AxisPad",
         "Controller (Afterglow Gamepad for Xbox 360)",
         "Controller (Batarang wired controller (XBOX))",
         "Controller (Gamepad for Xbox 360)",
         "Controller (GPX Gamepad)",
         "Controller (Infinity Controller 360)",
         "Controller (Mad Catz FPS Pro GamePad)",
         "Controller (MadCatz Call of Duty GamePad)",
         "Controller (MadCatz GamePad)",
         "Controller (MLG GamePad for Xbox 360)",
         "Controller (Razer Sabertooth Elite)",
         "Controller (Rock Candy Gamepad for Xbox 360)",
         "Controller (SL-6566)",
         "Controller (Xbox 360 For Windows)",
         "Controller (Xbox 360 Wireless Receiver for Windows)",
         "Controller (Xbox Airflo wired controller)",
         "Controller (XEOX Gamepad)",
         "Cyborg V.3 Rumble Pad",
         "Generic USB Joystick ",
         "MadCatz GamePad (Controller)",
         "Saitek P990 Dual Analog Pad",
         "SL-6566 (Controller)",
         "USB Gamepad ",
         "WingMan RumblePad",
         "XBOX 360 For Windows (Controller)",
         "XEOX Gamepad (Controller)",
         "XEQX Gamepad SL-6556-BK",
         "Controller (<BETOP GAME FOR WINDOWS>)",
         "Controller (Inno GamePad..)"
     };
     LastResortRegex     = "360|xbox|catz";
     base.ButtonMappings = new InputControlMapping[10]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "Right Bumper",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[16]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadUpMapping2(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadDownMapping2(UnityInputDeviceProfile.Analog6),
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog2,
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog2,
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog(8),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog(9),
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }