Beispiel #1
0
 public BuffaloClassicAmazonProfile()
 {
     base.Name             = "Buffalo Class Gamepad";
     base.Meta             = "Buffalo Class Gamepad on Amazon Fire TV";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "USB,2-axis 8-button gamepad  "
     };
     base.ButtonMappings = new InputControlMapping[5]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button15
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button16
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button17
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button18
         },
         new InputControlMapping
         {
             Handle = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button19
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog1)
     };
 }
Beispiel #2
0
 public AmazonFireTVRemoteProfile()
 {
     base.Name             = "Amazon Fire TV Remote";
     base.Meta             = "Amazon Fire TV Remote on Amazon Fire TV";
     base.DeviceClass      = InputDeviceClass.Remote;
     base.DeviceStyle      = InputDeviceStyle.AmazonFireTV;
     base.IncludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[2]
     {
         string.Empty,
         "Amazon Fire TV Remote"
     };
     base.ButtonMappings = new InputControlMapping[3]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.EscapeKey
         },
         new InputControlMapping
         {
             Handle = "Menu",
             Target = InputControlType.Menu,
             Source = UnityInputDeviceProfile.MenuKey
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #3
0
 public AndroidTVRemoteProfile()
 {
     base.Name             = "Android TV Remote";
     base.Meta             = "Android TV Remote on Android TV";
     base.DeviceClass      = InputDeviceClass.Remote;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[3]
     {
         string.Empty,
         "touch-input",
         "navigation-input"
     };
     base.ButtonMappings = new InputControlMapping[2]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.EscapeKey
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #4
0
 public NexusPlayerRemoteProfile()
 {
     base.Name             = "Nexus Player Remote";
     base.Meta             = "Nexus Player Remote";
     base.DeviceClass      = InputDeviceClass.Remote;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "Google Nexus Remote"
     };
     base.ButtonMappings = new InputControlMapping[2]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.EscapeKey
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
 public MogaProWinProfile()
 {
     base.Name             = "Moga Pro Controller";
     base.Meta             = "Moga Pro Controller on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "Android Controller Gen-2(ACC)"
     };
     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.Select,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog9,
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog9,
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
 public FlareAndroidProfile()
 {
     base.Name             = "Flare Controller";
     base.Meta             = "Flare Controller on Flare";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "MTK BT HID"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         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 Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         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.EscapeKey
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
 public LogitechF510LinuxProfile()
 {
     base.Name             = "Logitech F510 Controller";
     base.Meta             = "Logitech F510 Controller on Linux";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Xbox360;
     base.IncludePlatforms = new string[1]
     {
         "Linux"
     };
     JoystickNames = new string[1]
     {
         "Logitech Gamepad F510"
     };
     base.MaxUnityVersion = new VersionInfo(4, 9, 0, 0);
     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.Button9
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button6
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         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.Analog6),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog7),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog7),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog2
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog5
         }
     };
 }
Beispiel #8
0
 public LogitechWingManWinProfile()
 {
     base.Name             = "Logitech WingMan Controller";
     base.Meta             = "Logitech WingMan Controller on Windows";
     base.DeviceClass      = InputDeviceClass.FlightStick;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "WingMan Cordless Gamepad"
     };
     base.ButtonMappings = new InputControlMapping[11]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "C",
             Target = InputControlType.Button0,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "Z",
             Target = InputControlType.Button1,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Right Bumper",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button9
         }
     };
     base.AnalogMappings = new InputControlMapping[13]
     {
         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.DPadUpMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog6),
         new InputControlMapping
         {
             Handle = "Throttle",
             Target = InputControlType.Analog0,
             Source = UnityInputDeviceProfile.Analog2
         }
     };
 }
Beispiel #9
0
 public EightBitdoNES30ProAndroidProfile()
 {
     base.Name             = "8Bitdo NES30 Pro Controller";
     base.Meta             = "8Bitdo NES30 Pro Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.NintendoNES;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "8Bitdo NES30 Pro"
     };
     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 = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "L1",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "R1",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "L2",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "R2",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #10
0
 public MogaProAndroidProfile()
 {
     base.Name             = "Moga Pro";
     base.Meta             = "Moga Pro on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[2]
     {
         "Moga Pro HID",
         "Fire Bluetooth HID"
     };
     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.Select,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog12,
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog11,
             SourceRange = InputRange.ZeroToOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
Beispiel #11
0
 public GreenThrottleAtlasAndroidProfile()
 {
     base.Name             = "Green Throttle Atlas Controller";
     base.Meta             = "Green Throttle Atlas Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "Green Throttle Atlas"
     };
     base.ButtonMappings = new InputControlMapping[9]
     {
         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 = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public XboxOneBluetoothAndroidProfile()
 {
     base.Name             = "XBox One Controller";
     base.Meta             = "XBox One Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.XboxOne;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     base.ExcludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "Xbox Wireless Controller"
     };
     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 = "Menu",
             Target = InputControlType.Menu,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "View",
             Target = InputControlType.View,
             Source = UnityInputDeviceProfile.Button11
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public RazerServalMacProfile()
 {
     base.Name             = "Razer Serval Controller";
     base.Meta             = "Razer Serval Controller on Mac";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[2]
     {
         "Razer Razer Serval",
         "Unknown Razer Serval"
     };
     base.ButtonMappings = new InputControlMapping[13]
     {
         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 = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Home",
             Target = InputControlType.Home,
             Source = UnityInputDeviceProfile.Button11
         },
         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 = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "Right Bumper",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button12
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Power",
             Target = InputControlType.Power,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
 public BuffaloClassicWinProfile()
 {
     base.Name             = "Buffalo Class Gamepad";
     base.Meta             = "Buffalo Class Gamepad on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "USB,2-axis 8-button gamepad  "
     };
     base.ButtonMappings = new InputControlMapping[8]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Y",
             Target = InputControlType.Action3,
             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 = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[4]
     {
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog1)
     };
 }
Beispiel #15
0
 public PlayStation4MacUSBProfile()
 {
     base.Name             = "PlayStation 4 Controller";
     base.Meta             = "PlayStation 4 Controller on Mac";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.PlayStation4;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[2]
     {
         "Sony Computer Entertainment Wireless Controller",
         "Sony Interactive Entertainment Wireless Controller"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "Cross",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "Circle",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Square",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Triangle",
             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 = "Share",
             Target = InputControlType.Share,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Options",
             Target = InputControlType.Options,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "System",
             Target = InputControlType.System,
             Source = UnityInputDeviceProfile.Button12
         },
         new InputControlMapping
         {
             Handle = "TouchPad Button",
             Target = InputControlType.TouchPadButton,
             Source = UnityInputDeviceProfile.Button13
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.LeftTriggerMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.RightTriggerMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog7),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog7)
     };
 }
 public Xbox360AmazonProfile()
 {
     base.Name             = "XBox 360 Controller";
     base.Meta             = "XBox 360 Controller on Amazon Fire TV";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Xbox360;
     base.IncludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "Microsoft X-Box 360 pad"
     };
     LastResortRegex     = "360";
     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.EscapeKey
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.MenuKey
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public OuyaAmazonProfile()
 {
     base.Name             = "OUYA Controller";
     base.Meta             = "OUYA Controller on Amazon Fire TV";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Ouya;
     base.IncludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "OUYA Game Controller"
     };
     base.LowerDeadZone  = 0.3f;
     base.ButtonMappings = new InputControlMapping[8]
     {
         new InputControlMapping
         {
             Handle = "O",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "U",
             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
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public SpeedlinkStrikeMacProfile()
 {
     base.Name             = "Speedlink Strike Controller";
     base.Meta             = "Speedlink Strike Controller on Mac (Analog Mode)";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[1]
     {
         "DragonRise Inc.   Generic   USB  Joystick  "
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "3",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "2",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "4",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "1",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button0
         },
         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 = "10",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "9",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button11
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         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.DPadUpMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog6)
     };
 }
 public ExecutionerXProfile()
 {
     base.Name             = "Executioner X Controller";
     base.Meta             = "Executioner X Controller";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[2]
     {
         "Windows",
         "OS X"
     };
     JoystickNames = new string[2]
     {
         "Zeroplus PS Vibration Feedback Converter",
         "Zeroplus PS Vibration Feedback Converter "
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "3",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "2",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "4",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "1",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Left Bumper",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Right Bumper",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Options",
             Target = InputControlType.Options,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog7),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog7)
     };
 }
Beispiel #20
0
 public SteelSeriesFreeAndroidProfile()
 {
     base.Name             = "SteelSeries Free";
     base.Meta             = "SteelSeries Free on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[2]
     {
         "Broadcom Bluetooth HID",
         "Zeemote: SteelSeries FREE"
     };
     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.Select,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public MogaHeroPowerAndroidProfile()
 {
     base.Name             = "Moga Hero Power";
     base.Meta             = "Moga Hero Power on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "Moga 2 HID"
     };
     base.ButtonMappings = new InputControlMapping[9]
     {
         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 = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "L1",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "R1",
             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
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftTriggerMapping(UnityInputDeviceProfile.Analog12),
         UnityInputDeviceProfile.RightTriggerMapping(UnityInputDeviceProfile.Analog11),
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
     base.AnalogMappings[0].SourceRange = InputRange.ZeroToOne;
     base.AnalogMappings[1].SourceRange = InputRange.ZeroToOne;
 }
 public PlayStation3AndroidProfile()
 {
     base.Name             = "PlayStation 3 Controller";
     base.Meta             = "PlayStation 3 Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.PlayStation3;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[3]
     {
         "PLAYSTATION(R)3 Controller",
         "SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller",
         "Sony PLAYSTATION(R)3 Controller"
     };
     LastResortRegex     = "PLAYSTATION(R)3";
     base.ButtonMappings = new InputControlMapping[10]
     {
         new InputControlMapping
         {
             Handle = "Cross",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Circle",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "Square",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Triangle",
             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 = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "System",
             Target = InputControlType.System,
             Source = UnityInputDeviceProfile.MenuKey
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog6
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog7
         }
     };
 }
 public GenericBlackBerryProfile()
 {
     base.Name             = "Generic Gamepad";
     base.Meta             = "Generic Gamepad on BlackBerry";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Blackberry"
     };
     JoystickNames = new string[1]
     {
         "BlackBerry Gamepad :: SteelSeries FREE"
     };
     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.Select,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         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.DPadUpMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog6),
         new InputControlMapping
         {
             Handle      = "Left Trigger",
             Target      = InputControlType.LeftTrigger,
             Source      = UnityInputDeviceProfile.Analog8,
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         },
         new InputControlMapping
         {
             Handle      = "Right Trigger",
             Target      = InputControlType.RightTrigger,
             Source      = UnityInputDeviceProfile.Analog9,
             SourceRange = InputRange.ZeroToMinusOne,
             TargetRange = InputRange.ZeroToOne
         }
     };
 }
 public LogitechF310ModeDMacProfile()
 {
     base.Name             = "Logitech F310 Controller";
     base.Meta             = "Logitech F310 Controller on Mac (Mode D)";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Xbox360;
     base.IncludePlatforms = new string[1]
     {
         "OS X"
     };
     JoystickNames = new string[1]
     {
         "Logitech Logitech Dual Action"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "A",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "B",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "X",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button0
         },
         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.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Back",
             Target = InputControlType.Back,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #25
0
 public SamsungGP20AndroidProfile()
 {
     base.Name             = "Samgsung Game Pad EI-GP20";
     base.Meta             = "Samgsung Game Pad EI-GP20 on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "ANDROID"
     };
     JoystickNames = new string[1]
     {
         "Samsung Game Pad EI-GP20"
     };
     base.ButtonMappings = new InputControlMapping[8]
     {
         new InputControlMapping
         {
             Handle = "1",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "2",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "3",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "4",
             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 = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
 public PlayStation4AndroidXperiaZ5Profile()
 {
     base.Name             = "PlayStation 4 Controller";
     base.Meta             = "PlayStation 4 Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.PlayStation4;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     base.ExcludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "Wireless Controller"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "Cross",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Circle",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "Square",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Triangle",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "L1",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "L2",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "R1",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "R2",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Share",
             Target = InputControlType.Share,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Options",
             Target = InputControlType.Options,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "L3",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "R3",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button9
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
 public AndroidTVAmazonProfile()
 {
     base.Name             = "Android TV Controller";
     base.Meta             = "Android TV Controller on Amazon Fire TV";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Amazon AFT"
     };
     JoystickNames = new string[1]
     {
         "Gamepad"
     };
     base.ButtonMappings = new InputControlMapping[9]
     {
         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.EscapeKey
         }
     };
     base.AnalogMappings = new InputControlMapping[14]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5),
         new InputControlMapping
         {
             Handle = "Left Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Analog12
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Analog11
         }
     };
 }
 public BeboncoolDA015CAAndroidProfile()
 {
     base.Name             = "BEBONCOOL DA015-CA Controller";
     base.Meta             = "BEBONCOOL DA015-CA Controller on Android";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.DeviceStyle      = InputDeviceStyle.Xbox360;
     base.IncludePlatforms = new string[1]
     {
         "Android"
     };
     JoystickNames = new string[1]
     {
         "BBC-GAME"
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         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 = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "L1",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "R1",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "L2",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "R2",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button9
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #29
0
 public NatecGenesisP44Profile()
 {
     base.Name             = "Natec Genesis P44 Controller";
     base.Meta             = "Natec Genesis P44 Controller on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "EX10 GAMEPAD"
     };
     base.ButtonMappings = new InputControlMapping[13]
     {
         new InputControlMapping
         {
             Handle = "Cross",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "Circle",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "Square",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button0
         },
         new InputControlMapping
         {
             Handle = "Triangle",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "L",
             Target = InputControlType.LeftBumper,
             Source = UnityInputDeviceProfile.Button4
         },
         new InputControlMapping
         {
             Handle = "R",
             Target = InputControlType.RightBumper,
             Source = UnityInputDeviceProfile.Button5
         },
         new InputControlMapping
         {
             Handle = "LL",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "RR",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "Select",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Start",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button9
         },
         new InputControlMapping
         {
             Handle = "Menu",
             Target = InputControlType.Menu,
             Source = UnityInputDeviceProfile.Button12
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog3),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog5)
     };
 }
Beispiel #30
0
 public HamaBlackForceWinProfile()
 {
     base.Name             = "Hama Black Force Controller";
     base.Meta             = "Hama Black Force Controller on Windows";
     base.DeviceClass      = InputDeviceClass.Controller;
     base.IncludePlatforms = new string[1]
     {
         "Windows"
     };
     JoystickNames = new string[1]
     {
         "Generic   USB  Joystick  "
     };
     base.ButtonMappings = new InputControlMapping[12]
     {
         new InputControlMapping
         {
             Handle = "3",
             Target = InputControlType.Action1,
             Source = UnityInputDeviceProfile.Button2
         },
         new InputControlMapping
         {
             Handle = "2",
             Target = InputControlType.Action2,
             Source = UnityInputDeviceProfile.Button1
         },
         new InputControlMapping
         {
             Handle = "4",
             Target = InputControlType.Action3,
             Source = UnityInputDeviceProfile.Button3
         },
         new InputControlMapping
         {
             Handle = "1",
             Target = InputControlType.Action4,
             Source = UnityInputDeviceProfile.Button0
         },
         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 Trigger",
             Target = InputControlType.LeftTrigger,
             Source = UnityInputDeviceProfile.Button6
         },
         new InputControlMapping
         {
             Handle = "Right Trigger",
             Target = InputControlType.RightTrigger,
             Source = UnityInputDeviceProfile.Button7
         },
         new InputControlMapping
         {
             Handle = "B9",
             Target = InputControlType.Select,
             Source = UnityInputDeviceProfile.Button8
         },
         new InputControlMapping
         {
             Handle = "Left Stick Button",
             Target = InputControlType.LeftStickButton,
             Source = UnityInputDeviceProfile.Button10
         },
         new InputControlMapping
         {
             Handle = "Right Stick Button",
             Target = InputControlType.RightStickButton,
             Source = UnityInputDeviceProfile.Button11
         },
         new InputControlMapping
         {
             Handle = "B10",
             Target = InputControlType.Start,
             Source = UnityInputDeviceProfile.Button9
         }
     };
     base.AnalogMappings = new InputControlMapping[12]
     {
         UnityInputDeviceProfile.LeftStickLeftMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickRightMapping(UnityInputDeviceProfile.Analog0),
         UnityInputDeviceProfile.LeftStickUpMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.LeftStickDownMapping(UnityInputDeviceProfile.Analog1),
         UnityInputDeviceProfile.RightStickLeftMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickRightMapping(UnityInputDeviceProfile.Analog2),
         UnityInputDeviceProfile.RightStickUpMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.RightStickDownMapping(UnityInputDeviceProfile.Analog4),
         UnityInputDeviceProfile.DPadLeftMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadRightMapping(UnityInputDeviceProfile.Analog5),
         UnityInputDeviceProfile.DPadUpMapping(UnityInputDeviceProfile.Analog6),
         UnityInputDeviceProfile.DPadDownMapping(UnityInputDeviceProfile.Analog6)
     };
 }