// // ControllerTemplates.cs // Generated on 7/2/2018 12:39:54 PM // Do not edit this file. // This file can be generated from the ControllerDataFiles inspector. // // Copyright (c) 2018 Augie R. Maddox, Guavaman Enterprises. All rights reserved. #pragma warning disable 0219 #pragma warning disable 0618 #pragma warning disable 0649 #pragma warning disable 0067 #if !REWIRED_USE_USER_DEFINED_CONTROLLER_TEMPLATES namespace Rewired { #region Interfaces /// /// Interface for a Gamepad Controller Template. /// public partial interface IGamepadTemplate : IControllerTemplate { /// /// The "Action Bottom Row 1" element. /// /// Returns the "Action Bottom Row 1" element. IControllerTemplateButton actionBottomRow1 { get; } /// /// The "Action Bottom Row 1" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 1" element. IControllerTemplateButton a { get; } /// /// The "Action Bottom Row 2" element. /// /// Returns the "Action Bottom Row 2" element. IControllerTemplateButton actionBottomRow2 { get; } /// /// The "Action Bottom Row 2" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 2" element. IControllerTemplateButton b { get; } /// /// The "Action Bottom Row 3" element. /// /// Returns the "Action Bottom Row 3" element. IControllerTemplateButton actionBottomRow3 { get; } /// /// The "Action Bottom Row 3" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 3" element. IControllerTemplateButton c { get; } /// /// The "Action Top Row 1" element. /// /// Returns the "Action Top Row 1" element. IControllerTemplateButton actionTopRow1 { get; } /// /// The "Action Top Row 1" element. /// This is an alias for . /// /// Returns the "Action Top Row 1" element. IControllerTemplateButton x { get; } /// /// The "Action Top Row 2" element. /// /// Returns the "Action Top Row 2" element. IControllerTemplateButton actionTopRow2 { get; } /// /// The "Action Top Row 2" element. /// This is an alias for . /// /// Returns the "Action Top Row 2" element. IControllerTemplateButton y { get; } /// /// The "Action Top Row 3" element. /// /// Returns the "Action Top Row 3" element. IControllerTemplateButton actionTopRow3 { get; } /// /// The "Action Top Row 3" element. /// This is an alias for . /// /// Returns the "Action Top Row 3" element. IControllerTemplateButton z { get; } /// /// The "Left Shoulder 1" element. /// /// Returns the "Left Shoulder 1" element. IControllerTemplateButton leftShoulder1 { get; } /// /// The "Left Shoulder 1" element. /// This is an alias for . /// /// Returns the "Left Shoulder 1" element. IControllerTemplateButton leftBumper { get; } /// /// The "Left Shoulder 2" element. /// /// Returns the "Left Shoulder 2" element. IControllerTemplateAxis leftShoulder2 { get; } /// /// The "Left Shoulder 2" element. /// This is an alias for . /// /// Returns the "Left Shoulder 2" element. IControllerTemplateAxis leftTrigger { get; } /// /// The "Right Shoulder 1" element. /// /// Returns the "Right Shoulder 1" element. IControllerTemplateButton rightShoulder1 { get; } /// /// The "Right Shoulder 1" element. /// This is an alias for . /// /// Returns the "Right Shoulder 1" element. IControllerTemplateButton rightBumper { get; } /// /// The "Right Shoulder 2" element. /// /// Returns the "Right Shoulder 2" element. IControllerTemplateAxis rightShoulder2 { get; } /// /// The "Right Shoulder 2" element. /// This is an alias for . /// /// Returns the "Right Shoulder 2" element. IControllerTemplateAxis rightTrigger { get; } /// /// The "Center 1" element. /// /// Returns the "Center 1" element. IControllerTemplateButton center1 { get; } /// /// The "Center 1" element. /// This is an alias for . /// /// Returns the "Center 1" element. IControllerTemplateButton back { get; } /// /// The "Center 2" element. /// /// Returns the "Center 2" element. IControllerTemplateButton center2 { get; } /// /// The "Center 2" element. /// This is an alias for . /// /// Returns the "Center 2" element. IControllerTemplateButton start { get; } /// /// The "Center 3" element. /// /// Returns the "Center 3" element. IControllerTemplateButton center3 { get; } /// /// The "Center 3" element. /// This is an alias for . /// /// Returns the "Center 3" element. IControllerTemplateButton guide { get; } /// /// The "Left Stick" element. /// /// Returns the "Left Stick" element. IControllerTemplateThumbStick leftStick { get; } /// /// The "Right Stick" element. /// /// Returns the "Right Stick" element. IControllerTemplateThumbStick rightStick { get; } /// /// The "D-Pad" element. /// /// Returns the "D-Pad" element. IControllerTemplateDPad dPad { get; } } /// /// Interface for a Racing Wheel Controller Template. /// public partial interface IRacingWheelTemplate : IControllerTemplate { /// /// The "Wheel" element. /// /// Returns the "Wheel" element. IControllerTemplateAxis wheel { get; } /// /// The "Accelerator" element. /// /// Returns the "Accelerator" element. IControllerTemplateAxis accelerator { get; } /// /// The "Brake" element. /// /// Returns the "Brake" element. IControllerTemplateAxis brake { get; } /// /// The "Clutch" element. /// /// Returns the "Clutch" element. IControllerTemplateAxis clutch { get; } /// /// The "Shift Down" element. /// /// Returns the "Shift Down" element. IControllerTemplateButton shiftDown { get; } /// /// The "Shift Up" element. /// /// Returns the "Shift Up" element. IControllerTemplateButton shiftUp { get; } /// /// The "Wheel Button 1" element. /// /// Returns the "Wheel Button 1" element. IControllerTemplateButton wheelButton1 { get; } /// /// The "Wheel Button 2" element. /// /// Returns the "Wheel Button 2" element. IControllerTemplateButton wheelButton2 { get; } /// /// The "Wheel Button 3" element. /// /// Returns the "Wheel Button 3" element. IControllerTemplateButton wheelButton3 { get; } /// /// The "Wheel Button 4" element. /// /// Returns the "Wheel Button 4" element. IControllerTemplateButton wheelButton4 { get; } /// /// The "Wheel Button 5" element. /// /// Returns the "Wheel Button 5" element. IControllerTemplateButton wheelButton5 { get; } /// /// The "Wheel Button 6" element. /// /// Returns the "Wheel Button 6" element. IControllerTemplateButton wheelButton6 { get; } /// /// The "Wheel Button 7" element. /// /// Returns the "Wheel Button 7" element. IControllerTemplateButton wheelButton7 { get; } /// /// The "Wheel Button 8" element. /// /// Returns the "Wheel Button 8" element. IControllerTemplateButton wheelButton8 { get; } /// /// The "Wheel Button 9" element. /// /// Returns the "Wheel Button 9" element. IControllerTemplateButton wheelButton9 { get; } /// /// The "Wheel Button 10" element. /// /// Returns the "Wheel Button 10" element. IControllerTemplateButton wheelButton10 { get; } /// /// The "Console Button 1" element. /// /// Returns the "Console Button 1" element. IControllerTemplateButton consoleButton1 { get; } /// /// The "Console Button 2" element. /// /// Returns the "Console Button 2" element. IControllerTemplateButton consoleButton2 { get; } /// /// The "Console Button 3" element. /// /// Returns the "Console Button 3" element. IControllerTemplateButton consoleButton3 { get; } /// /// The "Console Button 4" element. /// /// Returns the "Console Button 4" element. IControllerTemplateButton consoleButton4 { get; } /// /// The "Console Button 5" element. /// /// Returns the "Console Button 5" element. IControllerTemplateButton consoleButton5 { get; } /// /// The "Console Button 6" element. /// /// Returns the "Console Button 6" element. IControllerTemplateButton consoleButton6 { get; } /// /// The "Console Button 7" element. /// /// Returns the "Console Button 7" element. IControllerTemplateButton consoleButton7 { get; } /// /// The "Console Button 8" element. /// /// Returns the "Console Button 8" element. IControllerTemplateButton consoleButton8 { get; } /// /// The "Console Button 9" element. /// /// Returns the "Console Button 9" element. IControllerTemplateButton consoleButton9 { get; } /// /// The "Console Button 10" element. /// /// Returns the "Console Button 10" element. IControllerTemplateButton consoleButton10 { get; } /// /// The "Shifter 1" element. /// /// Returns the "Shifter 1" element. IControllerTemplateButton shifter1 { get; } /// /// The "Shifter 2" element. /// /// Returns the "Shifter 2" element. IControllerTemplateButton shifter2 { get; } /// /// The "Shifter 3" element. /// /// Returns the "Shifter 3" element. IControllerTemplateButton shifter3 { get; } /// /// The "Shifter 4" element. /// /// Returns the "Shifter 4" element. IControllerTemplateButton shifter4 { get; } /// /// The "Shifter 5" element. /// /// Returns the "Shifter 5" element. IControllerTemplateButton shifter5 { get; } /// /// The "Shifter 6" element. /// /// Returns the "Shifter 6" element. IControllerTemplateButton shifter6 { get; } /// /// The "Shifter 7" element. /// /// Returns the "Shifter 7" element. IControllerTemplateButton shifter7 { get; } /// /// The "Shifter 8" element. /// /// Returns the "Shifter 8" element. IControllerTemplateButton shifter8 { get; } /// /// The "Shifter 9" element. /// /// Returns the "Shifter 9" element. IControllerTemplateButton shifter9 { get; } /// /// The "Shifter 10" element. /// /// Returns the "Shifter 10" element. IControllerTemplateButton shifter10 { get; } /// /// The "Reverse Gear" element. /// /// Returns the "Reverse Gear" element. IControllerTemplateButton reverseGear { get; } /// /// The "Select" element. /// /// Returns the "Select" element. IControllerTemplateButton select { get; } /// /// The "Start" element. /// /// Returns the "Start" element. IControllerTemplateButton start { get; } /// /// The "System Button" element. /// /// Returns the "System Button" element. IControllerTemplateButton systemButton { get; } /// /// The "Horn" element. /// /// Returns the "Horn" element. IControllerTemplateButton horn { get; } /// /// The "D-Pad" element. /// /// Returns the "D-Pad" element. IControllerTemplateDPad dPad { get; } } /// /// Interface for a HOTAS Controller Template. /// public partial interface IHOTASTemplate : IControllerTemplate { /// /// The "Stick Trigger" element. /// /// Returns the "Stick Trigger" element. IControllerTemplateButton stickTrigger { get; } /// /// The "Stick Trigger (Stage 2)" element. /// /// Returns the "Stick Trigger (Stage 2)" element. IControllerTemplateButton stickTriggerStage2 { get; } /// /// The "Stick Pinky Button" element. /// /// Returns the "Stick Pinky Button" element. IControllerTemplateButton stickPinkyButton { get; } /// /// The "Stick Pinky Trigger" element. /// /// Returns the "Stick Pinky Trigger" element. IControllerTemplateButton stickPinkyTrigger { get; } /// /// The "Stick Button 1" element. /// /// Returns the "Stick Button 1" element. IControllerTemplateButton stickButton1 { get; } /// /// The "Stick Button 2" element. /// /// Returns the "Stick Button 2" element. IControllerTemplateButton stickButton2 { get; } /// /// The "Stick Button 3" element. /// /// Returns the "Stick Button 3" element. IControllerTemplateButton stickButton3 { get; } /// /// The "Stick Button 4" element. /// /// Returns the "Stick Button 4" element. IControllerTemplateButton stickButton4 { get; } /// /// The "Stick Button 5" element. /// /// Returns the "Stick Button 5" element. IControllerTemplateButton stickButton5 { get; } /// /// The "Stick Button 6" element. /// /// Returns the "Stick Button 6" element. IControllerTemplateButton stickButton6 { get; } /// /// The "Stick Button 7" element. /// /// Returns the "Stick Button 7" element. IControllerTemplateButton stickButton7 { get; } /// /// The "Stick Button 8" element. /// /// Returns the "Stick Button 8" element. IControllerTemplateButton stickButton8 { get; } /// /// The "Stick Button 9" element. /// /// Returns the "Stick Button 9" element. IControllerTemplateButton stickButton9 { get; } /// /// The "Stick Button 10" element. /// /// Returns the "Stick Button 10" element. IControllerTemplateButton stickButton10 { get; } /// /// The "Stick Base Button 1" element. /// /// Returns the "Stick Base Button 1" element. IControllerTemplateButton stickBaseButton1 { get; } /// /// The "Stick Base Button 2" element. /// /// Returns the "Stick Base Button 2" element. IControllerTemplateButton stickBaseButton2 { get; } /// /// The "Stick Base Button 3" element. /// /// Returns the "Stick Base Button 3" element. IControllerTemplateButton stickBaseButton3 { get; } /// /// The "Stick Base Button 4" element. /// /// Returns the "Stick Base Button 4" element. IControllerTemplateButton stickBaseButton4 { get; } /// /// The "Stick Base Button 5" element. /// /// Returns the "Stick Base Button 5" element. IControllerTemplateButton stickBaseButton5 { get; } /// /// The "Stick Base Button 6" element. /// /// Returns the "Stick Base Button 6" element. IControllerTemplateButton stickBaseButton6 { get; } /// /// The "Stick Base Button 7" element. /// /// Returns the "Stick Base Button 7" element. IControllerTemplateButton stickBaseButton7 { get; } /// /// The "Stick Base Button 8" element. /// /// Returns the "Stick Base Button 8" element. IControllerTemplateButton stickBaseButton8 { get; } /// /// The "Stick Base Button 9" element. /// /// Returns the "Stick Base Button 9" element. IControllerTemplateButton stickBaseButton9 { get; } /// /// The "Stick Base Button 10" element. /// /// Returns the "Stick Base Button 10" element. IControllerTemplateButton stickBaseButton10 { get; } /// /// The "Stick Base Button 11" element. /// /// Returns the "Stick Base Button 11" element. IControllerTemplateButton stickBaseButton11 { get; } /// /// The "Stick Base Button 12" element. /// /// Returns the "Stick Base Button 12" element. IControllerTemplateButton stickBaseButton12 { get; } /// /// The "Mode 1" element. /// /// Returns the "Mode 1" element. IControllerTemplateButton mode1 { get; } /// /// The "Mode 2" element. /// /// Returns the "Mode 2" element. IControllerTemplateButton mode2 { get; } /// /// The "Mode 3" element. /// /// Returns the "Mode 3" element. IControllerTemplateButton mode3 { get; } /// /// The "Throttle Button 1" element. /// /// Returns the "Throttle Button 1" element. IControllerTemplateButton throttleButton1 { get; } /// /// The "Throttle Button 2" element. /// /// Returns the "Throttle Button 2" element. IControllerTemplateButton throttleButton2 { get; } /// /// The "Throttle Button 3" element. /// /// Returns the "Throttle Button 3" element. IControllerTemplateButton throttleButton3 { get; } /// /// The "Throttle Button 4" element. /// /// Returns the "Throttle Button 4" element. IControllerTemplateButton throttleButton4 { get; } /// /// The "Throttle Button 5" element. /// /// Returns the "Throttle Button 5" element. IControllerTemplateButton throttleButton5 { get; } /// /// The "Throttle Button 6" element. /// /// Returns the "Throttle Button 6" element. IControllerTemplateButton throttleButton6 { get; } /// /// The "Throttle Button 7" element. /// /// Returns the "Throttle Button 7" element. IControllerTemplateButton throttleButton7 { get; } /// /// The "Throttle Button 8" element. /// /// Returns the "Throttle Button 8" element. IControllerTemplateButton throttleButton8 { get; } /// /// The "Throttle Button 9" element. /// /// Returns the "Throttle Button 9" element. IControllerTemplateButton throttleButton9 { get; } /// /// The "Throttle Button 10" element. /// /// Returns the "Throttle Button 10" element. IControllerTemplateButton throttleButton10 { get; } /// /// The "Throttle Base Button 1" element. /// /// Returns the "Throttle Base Button 1" element. IControllerTemplateButton throttleBaseButton1 { get; } /// /// The "Throttle Base Button 2" element. /// /// Returns the "Throttle Base Button 2" element. IControllerTemplateButton throttleBaseButton2 { get; } /// /// The "Throttle Base Button 3" element. /// /// Returns the "Throttle Base Button 3" element. IControllerTemplateButton throttleBaseButton3 { get; } /// /// The "Throttle Base Button 4" element. /// /// Returns the "Throttle Base Button 4" element. IControllerTemplateButton throttleBaseButton4 { get; } /// /// The "Throttle Base Button 5" element. /// /// Returns the "Throttle Base Button 5" element. IControllerTemplateButton throttleBaseButton5 { get; } /// /// The "Throttle Base Button 6" element. /// /// Returns the "Throttle Base Button 6" element. IControllerTemplateButton throttleBaseButton6 { get; } /// /// The "Throttle Base Button 7" element. /// /// Returns the "Throttle Base Button 7" element. IControllerTemplateButton throttleBaseButton7 { get; } /// /// The "Throttle Base Button 8" element. /// /// Returns the "Throttle Base Button 8" element. IControllerTemplateButton throttleBaseButton8 { get; } /// /// The "Throttle Base Button 9" element. /// /// Returns the "Throttle Base Button 9" element. IControllerTemplateButton throttleBaseButton9 { get; } /// /// The "Throttle Base Button 10" element. /// /// Returns the "Throttle Base Button 10" element. IControllerTemplateButton throttleBaseButton10 { get; } /// /// The "Throttle Base Button 11" element. /// /// Returns the "Throttle Base Button 11" element. IControllerTemplateButton throttleBaseButton11 { get; } /// /// The "Throttle Base Button 12" element. /// /// Returns the "Throttle Base Button 12" element. IControllerTemplateButton throttleBaseButton12 { get; } /// /// The "Throttle Base Button 13" element. /// /// Returns the "Throttle Base Button 13" element. IControllerTemplateButton throttleBaseButton13 { get; } /// /// The "Throttle Base Button 14" element. /// /// Returns the "Throttle Base Button 14" element. IControllerTemplateButton throttleBaseButton14 { get; } /// /// The "Throttle Base Button 15" element. /// /// Returns the "Throttle Base Button 15" element. IControllerTemplateButton throttleBaseButton15 { get; } /// /// The "Throttle Slider 1" element. /// /// Returns the "Throttle Slider 1" element. IControllerTemplateAxis throttleSlider1 { get; } /// /// The "Throttle Slider 2" element. /// /// Returns the "Throttle Slider 2" element. IControllerTemplateAxis throttleSlider2 { get; } /// /// The "Throttle Slider 3" element. /// /// Returns the "Throttle Slider 3" element. IControllerTemplateAxis throttleSlider3 { get; } /// /// The "Throttle Slider 4" element. /// /// Returns the "Throttle Slider 4" element. IControllerTemplateAxis throttleSlider4 { get; } /// /// The "Throttle Dial 1" element. /// /// Returns the "Throttle Dial 1" element. IControllerTemplateAxis throttleDial1 { get; } /// /// The "Throttle Dial 2" element. /// /// Returns the "Throttle Dial 2" element. IControllerTemplateAxis throttleDial2 { get; } /// /// The "Throttle Dial 3" element. /// /// Returns the "Throttle Dial 3" element. IControllerTemplateAxis throttleDial3 { get; } /// /// The "Throttle Dial 4" element. /// /// Returns the "Throttle Dial 4" element. IControllerTemplateAxis throttleDial4 { get; } /// /// The "Throttle Wheel 1 Forward" element. /// /// Returns the "Throttle Wheel 1 Forward" element. IControllerTemplateButton throttleWheel1Forward { get; } /// /// The "Throttle Wheel 1 Back" element. /// /// Returns the "Throttle Wheel 1 Back" element. IControllerTemplateButton throttleWheel1Back { get; } /// /// The "Throttle Wheel 1 Press" element. /// /// Returns the "Throttle Wheel 1 Press" element. IControllerTemplateButton throttleWheel1Press { get; } /// /// The "Throttle Wheel 2 Forward" element. /// /// Returns the "Throttle Wheel 2 Forward" element. IControllerTemplateButton throttleWheel2Forward { get; } /// /// The "Throttle Wheel 2 Back" element. /// /// Returns the "Throttle Wheel 2 Back" element. IControllerTemplateButton throttleWheel2Back { get; } /// /// The "Throttle Wheel 2 Press" element. /// /// Returns the "Throttle Wheel 2 Press" element. IControllerTemplateButton throttleWheel2Press { get; } /// /// The "Throttle Wheel 3 Forward" element. /// /// Returns the "Throttle Wheel 3 Forward" element. IControllerTemplateButton throttleWheel3Forward { get; } /// /// The "Throttle Wheel 3 Back" element. /// /// Returns the "Throttle Wheel 3 Back" element. IControllerTemplateButton throttleWheel3Back { get; } /// /// The "Throttle Wheel 3 Press" element. /// /// Returns the "Throttle Wheel 3 Press" element. IControllerTemplateButton throttleWheel3Press { get; } /// /// The "Left Pedal" element. /// /// Returns the "Left Pedal" element. IControllerTemplateAxis leftPedal { get; } /// /// The "Right Pedal" element. /// /// Returns the "Right Pedal" element. IControllerTemplateAxis rightPedal { get; } /// /// The "Slide Pedals" element. /// /// Returns the "Slide Pedals" element. IControllerTemplateAxis slidePedals { get; } /// /// The "Stick" element. /// /// Returns the "Stick" element. IControllerTemplateStick stick { get; } /// /// The "Stick Mini Stick 1" element. /// /// Returns the "Stick Mini Stick 1" element. IControllerTemplateThumbStick stickMiniStick1 { get; } /// /// The "Stick Mini Stick 2" element. /// /// Returns the "Stick Mini Stick 2" element. IControllerTemplateThumbStick stickMiniStick2 { get; } /// /// The "Stick Hat 1" element. /// /// Returns the "Stick Hat 1" element. IControllerTemplateHat stickHat1 { get; } /// /// The "Stick Hat 2" element. /// /// Returns the "Stick Hat 2" element. IControllerTemplateHat stickHat2 { get; } /// /// The "Stick Hat 3" element. /// /// Returns the "Stick Hat 3" element. IControllerTemplateHat stickHat3 { get; } /// /// The "Stick Hat 4" element. /// /// Returns the "Stick Hat 4" element. IControllerTemplateHat stickHat4 { get; } /// /// The "Throttle 1" element. /// /// Returns the "Throttle 1" element. IControllerTemplateThrottle throttle1 { get; } /// /// The "Throttle 2" element. /// /// Returns the "Throttle 2" element. IControllerTemplateThrottle throttle2 { get; } /// /// The "Throttle Mini Stick" element. /// /// Returns the "Throttle Mini Stick" element. IControllerTemplateThumbStick throttleMiniStick { get; } /// /// The "Throttle Hat 1" element. /// /// Returns the "Throttle Hat 1" element. IControllerTemplateHat throttleHat1 { get; } /// /// The "Throttle Hat 2" element. /// /// Returns the "Throttle Hat 2" element. IControllerTemplateHat throttleHat2 { get; } /// /// The "Throttle Hat 3" element. /// /// Returns the "Throttle Hat 3" element. IControllerTemplateHat throttleHat3 { get; } /// /// The "Throttle Hat 4" element. /// /// Returns the "Throttle Hat 4" element. IControllerTemplateHat throttleHat4 { get; } } /// /// Interface for a Flight Yoke Controller Template. /// public partial interface IFlightYokeTemplate : IControllerTemplate { /// /// The "Left Paddle" element. /// /// Returns the "Left Paddle" element. IControllerTemplateButton leftPaddle { get; } /// /// The "Right Paddle" element. /// /// Returns the "Right Paddle" element. IControllerTemplateButton rightPaddle { get; } /// /// The "Left Grip Button 1" element. /// /// Returns the "Left Grip Button 1" element. IControllerTemplateButton leftGripButton1 { get; } /// /// The "Left Grip Button 2" element. /// /// Returns the "Left Grip Button 2" element. IControllerTemplateButton leftGripButton2 { get; } /// /// The "Left Grip Button 3" element. /// /// Returns the "Left Grip Button 3" element. IControllerTemplateButton leftGripButton3 { get; } /// /// The "Left Grip Button 4" element. /// /// Returns the "Left Grip Button 4" element. IControllerTemplateButton leftGripButton4 { get; } /// /// The "Left Grip Button 5" element. /// /// Returns the "Left Grip Button 5" element. IControllerTemplateButton leftGripButton5 { get; } /// /// The "Left Grip Button 6" element. /// /// Returns the "Left Grip Button 6" element. IControllerTemplateButton leftGripButton6 { get; } /// /// The "Right Grip Button 1" element. /// /// Returns the "Right Grip Button 1" element. IControllerTemplateButton rightGripButton1 { get; } /// /// The "Right Grip Button 2" element. /// /// Returns the "Right Grip Button 2" element. IControllerTemplateButton rightGripButton2 { get; } /// /// The "Right Grip Button 3" element. /// /// Returns the "Right Grip Button 3" element. IControllerTemplateButton rightGripButton3 { get; } /// /// The "Right Grip Button 4" element. /// /// Returns the "Right Grip Button 4" element. IControllerTemplateButton rightGripButton4 { get; } /// /// The "Right Grip Button 5" element. /// /// Returns the "Right Grip Button 5" element. IControllerTemplateButton rightGripButton5 { get; } /// /// The "Right Grip Button 6" element. /// /// Returns the "Right Grip Button 6" element. IControllerTemplateButton rightGripButton6 { get; } /// /// The "Center Button 1" element. /// /// Returns the "Center Button 1" element. IControllerTemplateButton centerButton1 { get; } /// /// The "Center Button 2" element. /// /// Returns the "Center Button 2" element. IControllerTemplateButton centerButton2 { get; } /// /// The "Center Button 3" element. /// /// Returns the "Center Button 3" element. IControllerTemplateButton centerButton3 { get; } /// /// The "Center Button 4" element. /// /// Returns the "Center Button 4" element. IControllerTemplateButton centerButton4 { get; } /// /// The "Center Button 5" element. /// /// Returns the "Center Button 5" element. IControllerTemplateButton centerButton5 { get; } /// /// The "Center Button 6" element. /// /// Returns the "Center Button 6" element. IControllerTemplateButton centerButton6 { get; } /// /// The "Center Button 7" element. /// /// Returns the "Center Button 7" element. IControllerTemplateButton centerButton7 { get; } /// /// The "Center Button 8" element. /// /// Returns the "Center Button 8" element. IControllerTemplateButton centerButton8 { get; } /// /// The "Wheel 1 Up" element. /// /// Returns the "Wheel 1 Up" element. IControllerTemplateButton wheel1Up { get; } /// /// The "Wheel 1 Down" element. /// /// Returns the "Wheel 1 Down" element. IControllerTemplateButton wheel1Down { get; } /// /// The "Wheel 1 Press" element. /// /// Returns the "Wheel 1 Press" element. IControllerTemplateButton wheel1Press { get; } /// /// The "Wheel 2 Up" element. /// /// Returns the "Wheel 2 Up" element. IControllerTemplateButton wheel2Up { get; } /// /// The "Wheel 2 Down" element. /// /// Returns the "Wheel 2 Down" element. IControllerTemplateButton wheel2Down { get; } /// /// The "Wheel 2 Press" element. /// /// Returns the "Wheel 2 Press" element. IControllerTemplateButton wheel2Press { get; } /// /// The "Console Button 1" element. /// /// Returns the "Console Button 1" element. IControllerTemplateButton consoleButton1 { get; } /// /// The "Console Button 2" element. /// /// Returns the "Console Button 2" element. IControllerTemplateButton consoleButton2 { get; } /// /// The "Console Button 3" element. /// /// Returns the "Console Button 3" element. IControllerTemplateButton consoleButton3 { get; } /// /// The "Console Button 4" element. /// /// Returns the "Console Button 4" element. IControllerTemplateButton consoleButton4 { get; } /// /// The "Console Button 5" element. /// /// Returns the "Console Button 5" element. IControllerTemplateButton consoleButton5 { get; } /// /// The "Console Button 6" element. /// /// Returns the "Console Button 6" element. IControllerTemplateButton consoleButton6 { get; } /// /// The "Console Button 7" element. /// /// Returns the "Console Button 7" element. IControllerTemplateButton consoleButton7 { get; } /// /// The "Console Button 8" element. /// /// Returns the "Console Button 8" element. IControllerTemplateButton consoleButton8 { get; } /// /// The "Console Button 9" element. /// /// Returns the "Console Button 9" element. IControllerTemplateButton consoleButton9 { get; } /// /// The "Console Button 10" element. /// /// Returns the "Console Button 10" element. IControllerTemplateButton consoleButton10 { get; } /// /// The "Mode 1" element. /// /// Returns the "Mode 1" element. IControllerTemplateButton mode1 { get; } /// /// The "Mode 2" element. /// /// Returns the "Mode 2" element. IControllerTemplateButton mode2 { get; } /// /// The "Mode 3" element. /// /// Returns the "Mode 3" element. IControllerTemplateButton mode3 { get; } /// /// The "Yoke" element. /// /// Returns the "Yoke" element. IControllerTemplateYoke yoke { get; } /// /// The "Lever 1" element. /// /// Returns the "Lever 1" element. IControllerTemplateThrottle lever1 { get; } /// /// The "Lever 2" element. /// /// Returns the "Lever 2" element. IControllerTemplateThrottle lever2 { get; } /// /// The "Lever 3" element. /// /// Returns the "Lever 3" element. IControllerTemplateThrottle lever3 { get; } /// /// The "Lever 4" element. /// /// Returns the "Lever 4" element. IControllerTemplateThrottle lever4 { get; } /// /// The "Lever 5" element. /// /// Returns the "Lever 5" element. IControllerTemplateThrottle lever5 { get; } /// /// The "Left Grip Hat" element. /// /// Returns the "Left Grip Hat" element. IControllerTemplateHat leftGripHat { get; } /// /// The "Right Grip Hat" element. /// /// Returns the "Right Grip Hat" element. IControllerTemplateHat rightGripHat { get; } } /// /// Interface for a Flight Pedals Controller Template. /// public partial interface IFlightPedalsTemplate : IControllerTemplate { /// /// The "Left Pedal" element. /// /// Returns the "Left Pedal" element. IControllerTemplateAxis leftPedal { get; } /// /// The "Right Pedal" element. /// /// Returns the "Right Pedal" element. IControllerTemplateAxis rightPedal { get; } /// /// The "Slide" element. /// /// Returns the "Slide" element. IControllerTemplateAxis slide { get; } } /// /// Interface for a 6 DoF Controller Controller Template. /// public partial interface ISixDofControllerTemplate : IControllerTemplate { /// /// The "Extra Axis 1" element. /// /// Returns the "Extra Axis 1" element. IControllerTemplateAxis extraAxis1 { get; } /// /// The "Extra Axis 2" element. /// /// Returns the "Extra Axis 2" element. IControllerTemplateAxis extraAxis2 { get; } /// /// The "Extra Axis 3" element. /// /// Returns the "Extra Axis 3" element. IControllerTemplateAxis extraAxis3 { get; } /// /// The "Extra Axis 4" element. /// /// Returns the "Extra Axis 4" element. IControllerTemplateAxis extraAxis4 { get; } /// /// The "Button 1" element. /// /// Returns the "Button 1" element. IControllerTemplateButton button1 { get; } /// /// The "Button 2" element. /// /// Returns the "Button 2" element. IControllerTemplateButton button2 { get; } /// /// The "Button 3" element. /// /// Returns the "Button 3" element. IControllerTemplateButton button3 { get; } /// /// The "Button 4" element. /// /// Returns the "Button 4" element. IControllerTemplateButton button4 { get; } /// /// The "Button 5" element. /// /// Returns the "Button 5" element. IControllerTemplateButton button5 { get; } /// /// The "Button 6" element. /// /// Returns the "Button 6" element. IControllerTemplateButton button6 { get; } /// /// The "Button 7" element. /// /// Returns the "Button 7" element. IControllerTemplateButton button7 { get; } /// /// The "Button 8" element. /// /// Returns the "Button 8" element. IControllerTemplateButton button8 { get; } /// /// The "Button 9" element. /// /// Returns the "Button 9" element. IControllerTemplateButton button9 { get; } /// /// The "Button 10" element. /// /// Returns the "Button 10" element. IControllerTemplateButton button10 { get; } /// /// The "Button 11" element. /// /// Returns the "Button 11" element. IControllerTemplateButton button11 { get; } /// /// The "Button 12" element. /// /// Returns the "Button 12" element. IControllerTemplateButton button12 { get; } /// /// The "Button 13" element. /// /// Returns the "Button 13" element. IControllerTemplateButton button13 { get; } /// /// The "Button 14" element. /// /// Returns the "Button 14" element. IControllerTemplateButton button14 { get; } /// /// The "Button 15" element. /// /// Returns the "Button 15" element. IControllerTemplateButton button15 { get; } /// /// The "Button 16" element. /// /// Returns the "Button 16" element. IControllerTemplateButton button16 { get; } /// /// The "Button 17" element. /// /// Returns the "Button 17" element. IControllerTemplateButton button17 { get; } /// /// The "Button 18" element. /// /// Returns the "Button 18" element. IControllerTemplateButton button18 { get; } /// /// The "Button 19" element. /// /// Returns the "Button 19" element. IControllerTemplateButton button19 { get; } /// /// The "Button 20" element. /// /// Returns the "Button 20" element. IControllerTemplateButton button20 { get; } /// /// The "Button 21" element. /// /// Returns the "Button 21" element. IControllerTemplateButton button21 { get; } /// /// The "Button 22" element. /// /// Returns the "Button 22" element. IControllerTemplateButton button22 { get; } /// /// The "Button 23" element. /// /// Returns the "Button 23" element. IControllerTemplateButton button23 { get; } /// /// The "Button 24" element. /// /// Returns the "Button 24" element. IControllerTemplateButton button24 { get; } /// /// The "Button 25" element. /// /// Returns the "Button 25" element. IControllerTemplateButton button25 { get; } /// /// The "Button 26" element. /// /// Returns the "Button 26" element. IControllerTemplateButton button26 { get; } /// /// The "Button 27" element. /// /// Returns the "Button 27" element. IControllerTemplateButton button27 { get; } /// /// The "Button 28" element. /// /// Returns the "Button 28" element. IControllerTemplateButton button28 { get; } /// /// The "Button 29" element. /// /// Returns the "Button 29" element. IControllerTemplateButton button29 { get; } /// /// The "Button 30" element. /// /// Returns the "Button 30" element. IControllerTemplateButton button30 { get; } /// /// The "Button 31" element. /// /// Returns the "Button 31" element. IControllerTemplateButton button31 { get; } /// /// The "Button 32" element. /// /// Returns the "Button 32" element. IControllerTemplateButton button32 { get; } /// /// The "Hat 1" element. /// /// Returns the "Hat 1" element. IControllerTemplateHat hat1 { get; } /// /// The "Hat 2" element. /// /// Returns the "Hat 2" element. IControllerTemplateHat hat2 { get; } /// /// The "Throttle 1" element. /// /// Returns the "Throttle 1" element. IControllerTemplateThrottle throttle1 { get; } /// /// The "Throttle 2" element. /// /// Returns the "Throttle 2" element. IControllerTemplateThrottle throttle2 { get; } /// /// The "Stick" element. /// /// Returns the "Stick" element. IControllerTemplateStick6D stick { get; } } #endregion #region Classes /// /// Class representing a Gamepad Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class GamepadTemplate : ControllerTemplate, IGamepadTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("83b427e4-086f-47f3-bb06-be266abd1ca5"); #region Constants /// /// Element identifier id for "Left Stick X". /// public const int elementId_leftStickX = 0; /// /// Element identifier id for "Left Stick Y". /// public const int elementId_leftStickY = 1; /// /// Element identifier id for "Right Stick X". /// public const int elementId_rightStickX = 2; /// /// Element identifier id for "Right Stick Y". /// public const int elementId_rightStickY = 3; /// /// Element identifier id for "Action Bottom Row 1". /// public const int elementId_actionBottomRow1 = 4; /// /// Element identifier id for "Action Bottom Row 1". /// This is an alias for . /// public const int elementId_a = 4; /// /// Element identifier id for "Action Bottom Row 2". /// public const int elementId_actionBottomRow2 = 5; /// /// Element identifier id for "Action Bottom Row 2". /// This is an alias for . /// public const int elementId_b = 5; /// /// Element identifier id for "Action Bottom Row 3". /// public const int elementId_actionBottomRow3 = 6; /// /// Element identifier id for "Action Bottom Row 3". /// This is an alias for . /// public const int elementId_c = 6; /// /// Element identifier id for "Action Top Row 1". /// public const int elementId_actionTopRow1 = 7; /// /// Element identifier id for "Action Top Row 1". /// This is an alias for . /// public const int elementId_x = 7; /// /// Element identifier id for "Action Top Row 2". /// public const int elementId_actionTopRow2 = 8; /// /// Element identifier id for "Action Top Row 2". /// This is an alias for . /// public const int elementId_y = 8; /// /// Element identifier id for "Action Top Row 3". /// public const int elementId_actionTopRow3 = 9; /// /// Element identifier id for "Action Top Row 3". /// This is an alias for . /// public const int elementId_z = 9; /// /// Element identifier id for "Left Shoulder 1". /// public const int elementId_leftShoulder1 = 10; /// /// Element identifier id for "Left Shoulder 1". /// This is an alias for . /// public const int elementId_leftBumper = 10; /// /// Element identifier id for "Left Shoulder 2". /// public const int elementId_leftShoulder2 = 11; /// /// Element identifier id for "Left Shoulder 2". /// This is an alias for . /// public const int elementId_leftTrigger = 11; /// /// Element identifier id for "Right Shoulder 1". /// public const int elementId_rightShoulder1 = 12; /// /// Element identifier id for "Right Shoulder 1". /// This is an alias for . /// public const int elementId_rightBumper = 12; /// /// Element identifier id for "Right Shoulder 2". /// public const int elementId_rightShoulder2 = 13; /// /// Element identifier id for "Right Shoulder 2". /// This is an alias for . /// public const int elementId_rightTrigger = 13; /// /// Element identifier id for "Center 1". /// public const int elementId_center1 = 14; /// /// Element identifier id for "Center 1". /// This is an alias for . /// public const int elementId_back = 14; /// /// Element identifier id for "Center 2". /// public const int elementId_center2 = 15; /// /// Element identifier id for "Center 2". /// This is an alias for . /// public const int elementId_start = 15; /// /// Element identifier id for "Center 3". /// public const int elementId_center3 = 16; /// /// Element identifier id for "Center 3". /// This is an alias for . /// public const int elementId_guide = 16; /// /// Element identifier id for "Left Stick Button". /// public const int elementId_leftStickButton = 17; /// /// Element identifier id for "Right Stick Button". /// public const int elementId_rightStickButton = 18; /// /// Element identifier id for "D-Pad Up". /// public const int elementId_dPadUp = 19; /// /// Element identifier id for "D-Pad Right". /// public const int elementId_dPadRight = 20; /// /// Element identifier id for "D-Pad Down". /// public const int elementId_dPadDown = 21; /// /// Element identifier id for "D-Pad Left". /// public const int elementId_dPadLeft = 22; /// /// Element identifier id for "Left Stick". /// public const int elementId_leftStick = 23; /// /// Element identifier id for "Right Stick". /// public const int elementId_rightStick = 24; /// /// Element identifier id for "D-Pad". /// public const int elementId_dPad = 25; #endregion #region IGamepadTemplate implementation /// /// The "Action Bottom Row 1" element. /// /// Returns the "Action Bottom Row 1" element. IControllerTemplateButton IGamepadTemplate.actionBottomRow1 { get { return GetElement(elementId_actionBottomRow1); } } /// /// The "Action Bottom Row 1" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 1" element. IControllerTemplateButton IGamepadTemplate.a { get { return GetElement(elementId_a); } } /// /// The "Action Bottom Row 2" element. /// /// Returns the "Action Bottom Row 2" element. IControllerTemplateButton IGamepadTemplate.actionBottomRow2 { get { return GetElement(elementId_actionBottomRow2); } } /// /// The "Action Bottom Row 2" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 2" element. IControllerTemplateButton IGamepadTemplate.b { get { return GetElement(elementId_b); } } /// /// The "Action Bottom Row 3" element. /// /// Returns the "Action Bottom Row 3" element. IControllerTemplateButton IGamepadTemplate.actionBottomRow3 { get { return GetElement(elementId_actionBottomRow3); } } /// /// The "Action Bottom Row 3" element. /// This is an alias for . /// /// Returns the "Action Bottom Row 3" element. IControllerTemplateButton IGamepadTemplate.c { get { return GetElement(elementId_c); } } /// /// The "Action Top Row 1" element. /// /// Returns the "Action Top Row 1" element. IControllerTemplateButton IGamepadTemplate.actionTopRow1 { get { return GetElement(elementId_actionTopRow1); } } /// /// The "Action Top Row 1" element. /// This is an alias for . /// /// Returns the "Action Top Row 1" element. IControllerTemplateButton IGamepadTemplate.x { get { return GetElement(elementId_x); } } /// /// The "Action Top Row 2" element. /// /// Returns the "Action Top Row 2" element. IControllerTemplateButton IGamepadTemplate.actionTopRow2 { get { return GetElement(elementId_actionTopRow2); } } /// /// The "Action Top Row 2" element. /// This is an alias for . /// /// Returns the "Action Top Row 2" element. IControllerTemplateButton IGamepadTemplate.y { get { return GetElement(elementId_y); } } /// /// The "Action Top Row 3" element. /// /// Returns the "Action Top Row 3" element. IControllerTemplateButton IGamepadTemplate.actionTopRow3 { get { return GetElement(elementId_actionTopRow3); } } /// /// The "Action Top Row 3" element. /// This is an alias for . /// /// Returns the "Action Top Row 3" element. IControllerTemplateButton IGamepadTemplate.z { get { return GetElement(elementId_z); } } /// /// The "Left Shoulder 1" element. /// /// Returns the "Left Shoulder 1" element. IControllerTemplateButton IGamepadTemplate.leftShoulder1 { get { return GetElement(elementId_leftShoulder1); } } /// /// The "Left Shoulder 1" element. /// This is an alias for . /// /// Returns the "Left Shoulder 1" element. IControllerTemplateButton IGamepadTemplate.leftBumper { get { return GetElement(elementId_leftBumper); } } /// /// The "Left Shoulder 2" element. /// /// Returns the "Left Shoulder 2" element. IControllerTemplateAxis IGamepadTemplate.leftShoulder2 { get { return GetElement(elementId_leftShoulder2); } } /// /// The "Left Shoulder 2" element. /// This is an alias for . /// /// Returns the "Left Shoulder 2" element. IControllerTemplateAxis IGamepadTemplate.leftTrigger { get { return GetElement(elementId_leftTrigger); } } /// /// The "Right Shoulder 1" element. /// /// Returns the "Right Shoulder 1" element. IControllerTemplateButton IGamepadTemplate.rightShoulder1 { get { return GetElement(elementId_rightShoulder1); } } /// /// The "Right Shoulder 1" element. /// This is an alias for . /// /// Returns the "Right Shoulder 1" element. IControllerTemplateButton IGamepadTemplate.rightBumper { get { return GetElement(elementId_rightBumper); } } /// /// The "Right Shoulder 2" element. /// /// Returns the "Right Shoulder 2" element. IControllerTemplateAxis IGamepadTemplate.rightShoulder2 { get { return GetElement(elementId_rightShoulder2); } } /// /// The "Right Shoulder 2" element. /// This is an alias for . /// /// Returns the "Right Shoulder 2" element. IControllerTemplateAxis IGamepadTemplate.rightTrigger { get { return GetElement(elementId_rightTrigger); } } /// /// The "Center 1" element. /// /// Returns the "Center 1" element. IControllerTemplateButton IGamepadTemplate.center1 { get { return GetElement(elementId_center1); } } /// /// The "Center 1" element. /// This is an alias for . /// /// Returns the "Center 1" element. IControllerTemplateButton IGamepadTemplate.back { get { return GetElement(elementId_back); } } /// /// The "Center 2" element. /// /// Returns the "Center 2" element. IControllerTemplateButton IGamepadTemplate.center2 { get { return GetElement(elementId_center2); } } /// /// The "Center 2" element. /// This is an alias for . /// /// Returns the "Center 2" element. IControllerTemplateButton IGamepadTemplate.start { get { return GetElement(elementId_start); } } /// /// The "Center 3" element. /// /// Returns the "Center 3" element. IControllerTemplateButton IGamepadTemplate.center3 { get { return GetElement(elementId_center3); } } /// /// The "Center 3" element. /// This is an alias for . /// /// Returns the "Center 3" element. IControllerTemplateButton IGamepadTemplate.guide { get { return GetElement(elementId_guide); } } /// /// The "Left Stick" element. /// /// Returns the "Left Stick" element. IControllerTemplateThumbStick IGamepadTemplate.leftStick { get { return GetElement(elementId_leftStick); } } /// /// The "Right Stick" element. /// /// Returns the "Right Stick" element. IControllerTemplateThumbStick IGamepadTemplate.rightStick { get { return GetElement(elementId_rightStick); } } /// /// The "D-Pad" element. /// /// Returns the "D-Pad" element. IControllerTemplateDPad IGamepadTemplate.dPad { get { return GetElement(elementId_dPad); } } #endregion /// /// Creates a new instance of this class. /// public GamepadTemplate(object payload) : base(payload) { } } /// /// Class representing a Racing Wheel Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class RacingWheelTemplate : ControllerTemplate, IRacingWheelTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("104e31d8-9115-4dd5-a398-2e54d35e6c83"); #region Constants /// /// Element identifier id for "Wheel". /// public const int elementId_wheel = 0; /// /// Element identifier id for "Accelerator". /// public const int elementId_accelerator = 1; /// /// Element identifier id for "Brake". /// public const int elementId_brake = 2; /// /// Element identifier id for "Clutch". /// public const int elementId_clutch = 3; /// /// Element identifier id for "Shift Down". /// public const int elementId_shiftDown = 4; /// /// Element identifier id for "Shift Up". /// public const int elementId_shiftUp = 5; /// /// Element identifier id for "Wheel Button 1". /// public const int elementId_wheelButton1 = 6; /// /// Element identifier id for "Wheel Button 2". /// public const int elementId_wheelButton2 = 7; /// /// Element identifier id for "Wheel Button 3". /// public const int elementId_wheelButton3 = 8; /// /// Element identifier id for "Wheel Button 4". /// public const int elementId_wheelButton4 = 9; /// /// Element identifier id for "Wheel Button 5". /// public const int elementId_wheelButton5 = 10; /// /// Element identifier id for "Wheel Button 6". /// public const int elementId_wheelButton6 = 11; /// /// Element identifier id for "Wheel Button 7". /// public const int elementId_wheelButton7 = 12; /// /// Element identifier id for "Wheel Button 8". /// public const int elementId_wheelButton8 = 13; /// /// Element identifier id for "Wheel Button 9". /// public const int elementId_wheelButton9 = 14; /// /// Element identifier id for "Wheel Button 10". /// public const int elementId_wheelButton10 = 15; /// /// Element identifier id for "Console Button 1". /// public const int elementId_consoleButton1 = 16; /// /// Element identifier id for "Console Button 2". /// public const int elementId_consoleButton2 = 17; /// /// Element identifier id for "Console Button 3". /// public const int elementId_consoleButton3 = 18; /// /// Element identifier id for "Console Button 4". /// public const int elementId_consoleButton4 = 19; /// /// Element identifier id for "Console Button 5". /// public const int elementId_consoleButton5 = 20; /// /// Element identifier id for "Console Button 6". /// public const int elementId_consoleButton6 = 21; /// /// Element identifier id for "Console Button 7". /// public const int elementId_consoleButton7 = 22; /// /// Element identifier id for "Console Button 8". /// public const int elementId_consoleButton8 = 23; /// /// Element identifier id for "Console Button 9". /// public const int elementId_consoleButton9 = 24; /// /// Element identifier id for "Console Button 10". /// public const int elementId_consoleButton10 = 25; /// /// Element identifier id for "Shifter 1". /// public const int elementId_shifter1 = 26; /// /// Element identifier id for "Shifter 2". /// public const int elementId_shifter2 = 27; /// /// Element identifier id for "Shifter 3". /// public const int elementId_shifter3 = 28; /// /// Element identifier id for "Shifter 4". /// public const int elementId_shifter4 = 29; /// /// Element identifier id for "Shifter 5". /// public const int elementId_shifter5 = 30; /// /// Element identifier id for "Shifter 6". /// public const int elementId_shifter6 = 31; /// /// Element identifier id for "Shifter 7". /// public const int elementId_shifter7 = 32; /// /// Element identifier id for "Shifter 8". /// public const int elementId_shifter8 = 33; /// /// Element identifier id for "Shifter 9". /// public const int elementId_shifter9 = 34; /// /// Element identifier id for "Shifter 10". /// public const int elementId_shifter10 = 35; /// /// Element identifier id for "Reverse Gear". /// public const int elementId_reverseGear = 44; /// /// Element identifier id for "Select". /// public const int elementId_select = 36; /// /// Element identifier id for "Start". /// public const int elementId_start = 37; /// /// Element identifier id for "System Button". /// public const int elementId_systemButton = 38; /// /// Element identifier id for "Horn". /// public const int elementId_horn = 43; /// /// Element identifier id for "D-Pad Up". /// public const int elementId_dPadUp = 39; /// /// Element identifier id for "D-Pad Right". /// public const int elementId_dPadRight = 40; /// /// Element identifier id for "D-Pad Down". /// public const int elementId_dPadDown = 41; /// /// Element identifier id for "D-Pad Left". /// public const int elementId_dPadLeft = 42; /// /// Element identifier id for "D-Pad". /// public const int elementId_dPad = 45; #endregion #region IRacingWheelTemplate implementation /// /// The "Wheel" element. /// /// Returns the "Wheel" element. IControllerTemplateAxis IRacingWheelTemplate.wheel { get { return GetElement(elementId_wheel); } } /// /// The "Accelerator" element. /// /// Returns the "Accelerator" element. IControllerTemplateAxis IRacingWheelTemplate.accelerator { get { return GetElement(elementId_accelerator); } } /// /// The "Brake" element. /// /// Returns the "Brake" element. IControllerTemplateAxis IRacingWheelTemplate.brake { get { return GetElement(elementId_brake); } } /// /// The "Clutch" element. /// /// Returns the "Clutch" element. IControllerTemplateAxis IRacingWheelTemplate.clutch { get { return GetElement(elementId_clutch); } } /// /// The "Shift Down" element. /// /// Returns the "Shift Down" element. IControllerTemplateButton IRacingWheelTemplate.shiftDown { get { return GetElement(elementId_shiftDown); } } /// /// The "Shift Up" element. /// /// Returns the "Shift Up" element. IControllerTemplateButton IRacingWheelTemplate.shiftUp { get { return GetElement(elementId_shiftUp); } } /// /// The "Wheel Button 1" element. /// /// Returns the "Wheel Button 1" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton1 { get { return GetElement(elementId_wheelButton1); } } /// /// The "Wheel Button 2" element. /// /// Returns the "Wheel Button 2" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton2 { get { return GetElement(elementId_wheelButton2); } } /// /// The "Wheel Button 3" element. /// /// Returns the "Wheel Button 3" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton3 { get { return GetElement(elementId_wheelButton3); } } /// /// The "Wheel Button 4" element. /// /// Returns the "Wheel Button 4" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton4 { get { return GetElement(elementId_wheelButton4); } } /// /// The "Wheel Button 5" element. /// /// Returns the "Wheel Button 5" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton5 { get { return GetElement(elementId_wheelButton5); } } /// /// The "Wheel Button 6" element. /// /// Returns the "Wheel Button 6" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton6 { get { return GetElement(elementId_wheelButton6); } } /// /// The "Wheel Button 7" element. /// /// Returns the "Wheel Button 7" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton7 { get { return GetElement(elementId_wheelButton7); } } /// /// The "Wheel Button 8" element. /// /// Returns the "Wheel Button 8" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton8 { get { return GetElement(elementId_wheelButton8); } } /// /// The "Wheel Button 9" element. /// /// Returns the "Wheel Button 9" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton9 { get { return GetElement(elementId_wheelButton9); } } /// /// The "Wheel Button 10" element. /// /// Returns the "Wheel Button 10" element. IControllerTemplateButton IRacingWheelTemplate.wheelButton10 { get { return GetElement(elementId_wheelButton10); } } /// /// The "Console Button 1" element. /// /// Returns the "Console Button 1" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton1 { get { return GetElement(elementId_consoleButton1); } } /// /// The "Console Button 2" element. /// /// Returns the "Console Button 2" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton2 { get { return GetElement(elementId_consoleButton2); } } /// /// The "Console Button 3" element. /// /// Returns the "Console Button 3" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton3 { get { return GetElement(elementId_consoleButton3); } } /// /// The "Console Button 4" element. /// /// Returns the "Console Button 4" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton4 { get { return GetElement(elementId_consoleButton4); } } /// /// The "Console Button 5" element. /// /// Returns the "Console Button 5" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton5 { get { return GetElement(elementId_consoleButton5); } } /// /// The "Console Button 6" element. /// /// Returns the "Console Button 6" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton6 { get { return GetElement(elementId_consoleButton6); } } /// /// The "Console Button 7" element. /// /// Returns the "Console Button 7" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton7 { get { return GetElement(elementId_consoleButton7); } } /// /// The "Console Button 8" element. /// /// Returns the "Console Button 8" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton8 { get { return GetElement(elementId_consoleButton8); } } /// /// The "Console Button 9" element. /// /// Returns the "Console Button 9" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton9 { get { return GetElement(elementId_consoleButton9); } } /// /// The "Console Button 10" element. /// /// Returns the "Console Button 10" element. IControllerTemplateButton IRacingWheelTemplate.consoleButton10 { get { return GetElement(elementId_consoleButton10); } } /// /// The "Shifter 1" element. /// /// Returns the "Shifter 1" element. IControllerTemplateButton IRacingWheelTemplate.shifter1 { get { return GetElement(elementId_shifter1); } } /// /// The "Shifter 2" element. /// /// Returns the "Shifter 2" element. IControllerTemplateButton IRacingWheelTemplate.shifter2 { get { return GetElement(elementId_shifter2); } } /// /// The "Shifter 3" element. /// /// Returns the "Shifter 3" element. IControllerTemplateButton IRacingWheelTemplate.shifter3 { get { return GetElement(elementId_shifter3); } } /// /// The "Shifter 4" element. /// /// Returns the "Shifter 4" element. IControllerTemplateButton IRacingWheelTemplate.shifter4 { get { return GetElement(elementId_shifter4); } } /// /// The "Shifter 5" element. /// /// Returns the "Shifter 5" element. IControllerTemplateButton IRacingWheelTemplate.shifter5 { get { return GetElement(elementId_shifter5); } } /// /// The "Shifter 6" element. /// /// Returns the "Shifter 6" element. IControllerTemplateButton IRacingWheelTemplate.shifter6 { get { return GetElement(elementId_shifter6); } } /// /// The "Shifter 7" element. /// /// Returns the "Shifter 7" element. IControllerTemplateButton IRacingWheelTemplate.shifter7 { get { return GetElement(elementId_shifter7); } } /// /// The "Shifter 8" element. /// /// Returns the "Shifter 8" element. IControllerTemplateButton IRacingWheelTemplate.shifter8 { get { return GetElement(elementId_shifter8); } } /// /// The "Shifter 9" element. /// /// Returns the "Shifter 9" element. IControllerTemplateButton IRacingWheelTemplate.shifter9 { get { return GetElement(elementId_shifter9); } } /// /// The "Shifter 10" element. /// /// Returns the "Shifter 10" element. IControllerTemplateButton IRacingWheelTemplate.shifter10 { get { return GetElement(elementId_shifter10); } } /// /// The "Reverse Gear" element. /// /// Returns the "Reverse Gear" element. IControllerTemplateButton IRacingWheelTemplate.reverseGear { get { return GetElement(elementId_reverseGear); } } /// /// The "Select" element. /// /// Returns the "Select" element. IControllerTemplateButton IRacingWheelTemplate.select { get { return GetElement(elementId_select); } } /// /// The "Start" element. /// /// Returns the "Start" element. IControllerTemplateButton IRacingWheelTemplate.start { get { return GetElement(elementId_start); } } /// /// The "System Button" element. /// /// Returns the "System Button" element. IControllerTemplateButton IRacingWheelTemplate.systemButton { get { return GetElement(elementId_systemButton); } } /// /// The "Horn" element. /// /// Returns the "Horn" element. IControllerTemplateButton IRacingWheelTemplate.horn { get { return GetElement(elementId_horn); } } /// /// The "D-Pad" element. /// /// Returns the "D-Pad" element. IControllerTemplateDPad IRacingWheelTemplate.dPad { get { return GetElement(elementId_dPad); } } #endregion /// /// Creates a new instance of this class. /// public RacingWheelTemplate(object payload) : base(payload) { } } /// /// Class representing a HOTAS Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class HOTASTemplate : ControllerTemplate, IHOTASTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("061a00cf-d8c2-4f8d-8cb5-a15a010bc53e"); #region Constants /// /// Element identifier id for "Stick X". /// public const int elementId_stickX = 0; /// /// Element identifier id for "Stick Y". /// public const int elementId_stickY = 1; /// /// Element identifier id for "Stick Rotate". /// public const int elementId_stickRotate = 2; /// /// Element identifier id for "Stick Mini Stick 1 X". /// public const int elementId_stickMiniStick1X = 78; /// /// Element identifier id for "Stick Mini Stick 1 Y". /// public const int elementId_stickMiniStick1Y = 79; /// /// Element identifier id for "Stick Mini Stick 1 Press". /// public const int elementId_stickMiniStick1Press = 80; /// /// Element identifier id for "Stick Mini Stick 2 X". /// public const int elementId_stickMiniStick2X = 81; /// /// Element identifier id for "Stick Mini Stick 2 Y". /// public const int elementId_stickMiniStick2Y = 82; /// /// Element identifier id for "Stick Mini Stick 2 Press". /// public const int elementId_stickMiniStick2Press = 83; /// /// Element identifier id for "Stick Trigger". /// public const int elementId_stickTrigger = 3; /// /// Element identifier id for "Stick Trigger (Stage 2)". /// public const int elementId_stickTriggerStage2 = 4; /// /// Element identifier id for "Stick Pinky Button". /// public const int elementId_stickPinkyButton = 5; /// /// Element identifier id for "Stick Pinky Trigger". /// public const int elementId_stickPinkyTrigger = 154; /// /// Element identifier id for "Stick Button 1". /// public const int elementId_stickButton1 = 6; /// /// Element identifier id for "Stick Button 2". /// public const int elementId_stickButton2 = 7; /// /// Element identifier id for "Stick Button 3". /// public const int elementId_stickButton3 = 8; /// /// Element identifier id for "Stick Button 4". /// public const int elementId_stickButton4 = 9; /// /// Element identifier id for "Stick Button 5". /// public const int elementId_stickButton5 = 10; /// /// Element identifier id for "Stick Button 6". /// public const int elementId_stickButton6 = 11; /// /// Element identifier id for "Stick Button 7". /// public const int elementId_stickButton7 = 12; /// /// Element identifier id for "Stick Button 8". /// public const int elementId_stickButton8 = 13; /// /// Element identifier id for "Stick Button 9". /// public const int elementId_stickButton9 = 14; /// /// Element identifier id for "Stick Button 10". /// public const int elementId_stickButton10 = 15; /// /// Element identifier id for "Stick Base Button 1". /// public const int elementId_stickBaseButton1 = 18; /// /// Element identifier id for "Stick Base Button 2". /// public const int elementId_stickBaseButton2 = 19; /// /// Element identifier id for "Stick Base Button 3". /// public const int elementId_stickBaseButton3 = 20; /// /// Element identifier id for "Stick Base Button 4". /// public const int elementId_stickBaseButton4 = 21; /// /// Element identifier id for "Stick Base Button 5". /// public const int elementId_stickBaseButton5 = 22; /// /// Element identifier id for "Stick Base Button 6". /// public const int elementId_stickBaseButton6 = 23; /// /// Element identifier id for "Stick Base Button 7". /// public const int elementId_stickBaseButton7 = 24; /// /// Element identifier id for "Stick Base Button 8". /// public const int elementId_stickBaseButton8 = 25; /// /// Element identifier id for "Stick Base Button 9". /// public const int elementId_stickBaseButton9 = 26; /// /// Element identifier id for "Stick Base Button 10". /// public const int elementId_stickBaseButton10 = 27; /// /// Element identifier id for "Stick Base Button 11". /// public const int elementId_stickBaseButton11 = 161; /// /// Element identifier id for "Stick Base Button 12". /// public const int elementId_stickBaseButton12 = 162; /// /// Element identifier id for "Stick Hat 1 Up". /// public const int elementId_stickHat1Up = 28; /// /// Element identifier id for "Stick Hat 1 Up-Right". /// public const int elementId_stickHat1UpRight = 29; /// /// Element identifier id for "Stick Hat 1 Right". /// public const int elementId_stickHat1Right = 30; /// /// Element identifier id for "Stick Hat 1 Down-Right". /// public const int elementId_stickHat1DownRight = 31; /// /// Element identifier id for "Stick Hat 1 Down". /// public const int elementId_stickHat1Down = 32; /// /// Element identifier id for "Stick Hat 1 Down-Left". /// public const int elementId_stickHat1DownLeft = 33; /// /// Element identifier id for "Stick Hat 1 Left". /// public const int elementId_stickHat1Left = 34; /// /// Element identifier id for "Stick Hat 1 Up-Left". /// public const int elementId_stickHat1Up_Left = 35; /// /// Element identifier id for "Stick Hat 2 Up". /// public const int elementId_stickHat2Up = 36; /// /// Element identifier id for "Stick Hat 2 Up-right". /// public const int elementId_stickHat2Up_right = 37; /// /// Element identifier id for "Stick Hat 2 Right". /// public const int elementId_stickHat2Right = 38; /// /// Element identifier id for "Stick Hat 2 Down-Right". /// public const int elementId_stickHat2Down_Right = 39; /// /// Element identifier id for "Stick Hat 2 Down". /// public const int elementId_stickHat2Down = 40; /// /// Element identifier id for "Stick Hat 2 Down-Left". /// public const int elementId_stickHat2Down_Left = 41; /// /// Element identifier id for "Stick Hat 2 Left". /// public const int elementId_stickHat2Left = 42; /// /// Element identifier id for "Stick Hat 2 Up-Left". /// public const int elementId_stickHat2Up_Left = 43; /// /// Element identifier id for "Stick Hat 3 Up". /// public const int elementId_stickHat3Up = 84; /// /// Element identifier id for "Stick Hat 3 Up-Right". /// public const int elementId_stickHat3Up_Right = 85; /// /// Element identifier id for "Stick Hat 3 Right". /// public const int elementId_stickHat3Right = 86; /// /// Element identifier id for "Stick Hat 3 Down-Right". /// public const int elementId_stickHat3Down_Right = 87; /// /// Element identifier id for "Stick Hat 3 Down". /// public const int elementId_stickHat3Down = 88; /// /// Element identifier id for "Stick Hat 3 Down-Left". /// public const int elementId_stickHat3Down_Left = 89; /// /// Element identifier id for "Stick Hat 3 Left". /// public const int elementId_stickHat3Left = 90; /// /// Element identifier id for "Stick Hat 3 Up-Left". /// public const int elementId_stickHat3Up_Left = 91; /// /// Element identifier id for "Stick Hat 4 Up". /// public const int elementId_stickHat4Up = 92; /// /// Element identifier id for "Stick Hat 4 Up-Right". /// public const int elementId_stickHat4Up_Right = 93; /// /// Element identifier id for "Stick Hat 4 Right". /// public const int elementId_stickHat4Right = 94; /// /// Element identifier id for "Stick Hat 4 Down-Right". /// public const int elementId_stickHat4Down_Right = 95; /// /// Element identifier id for "Stick Hat 4 Down". /// public const int elementId_stickHat4Down = 96; /// /// Element identifier id for "Stick Hat 4 Down-Left". /// public const int elementId_stickHat4Down_Left = 97; /// /// Element identifier id for "Stick Hat 4 Left". /// public const int elementId_stickHat4Left = 98; /// /// Element identifier id for "Stick Hat 4 Up-Left". /// public const int elementId_stickHat4Up_Left = 99; /// /// Element identifier id for "Mode 1". /// public const int elementId_mode1 = 44; /// /// Element identifier id for "Mode 2". /// public const int elementId_mode2 = 45; /// /// Element identifier id for "Mode 3". /// public const int elementId_mode3 = 46; /// /// Element identifier id for "Throttle 1". /// public const int elementId_throttle1Axis = 49; /// /// Element identifier id for "Throttle 2". /// public const int elementId_throttle2Axis = 155; /// /// Element identifier id for "Throttle 1 Min Detent". /// public const int elementId_throttle1MinDetent = 166; /// /// Element identifier id for "Throttle 2 Min Detent". /// public const int elementId_throttle2MinDetent = 167; /// /// Element identifier id for "Throttle Button 1". /// public const int elementId_throttleButton1 = 50; /// /// Element identifier id for "Throttle Button 2". /// public const int elementId_throttleButton2 = 51; /// /// Element identifier id for "Throttle Button 3". /// public const int elementId_throttleButton3 = 52; /// /// Element identifier id for "Throttle Button 4". /// public const int elementId_throttleButton4 = 53; /// /// Element identifier id for "Throttle Button 5". /// public const int elementId_throttleButton5 = 54; /// /// Element identifier id for "Throttle Button 6". /// public const int elementId_throttleButton6 = 55; /// /// Element identifier id for "Throttle Button 7". /// public const int elementId_throttleButton7 = 56; /// /// Element identifier id for "Throttle Button 8". /// public const int elementId_throttleButton8 = 57; /// /// Element identifier id for "Throttle Button 9". /// public const int elementId_throttleButton9 = 58; /// /// Element identifier id for "Throttle Button 10". /// public const int elementId_throttleButton10 = 59; /// /// Element identifier id for "Throttle Base Button 1". /// public const int elementId_throttleBaseButton1 = 60; /// /// Element identifier id for "Throttle Base Button 2". /// public const int elementId_throttleBaseButton2 = 61; /// /// Element identifier id for "Throttle Base Button 3". /// public const int elementId_throttleBaseButton3 = 62; /// /// Element identifier id for "Throttle Base Button 4". /// public const int elementId_throttleBaseButton4 = 63; /// /// Element identifier id for "Throttle Base Button 5". /// public const int elementId_throttleBaseButton5 = 64; /// /// Element identifier id for "Throttle Base Button 6". /// public const int elementId_throttleBaseButton6 = 65; /// /// Element identifier id for "Throttle Base Button 7". /// public const int elementId_throttleBaseButton7 = 66; /// /// Element identifier id for "Throttle Base Button 8". /// public const int elementId_throttleBaseButton8 = 67; /// /// Element identifier id for "Throttle Base Button 9". /// public const int elementId_throttleBaseButton9 = 68; /// /// Element identifier id for "Throttle Base Button 10". /// public const int elementId_throttleBaseButton10 = 69; /// /// Element identifier id for "Throttle Base Button 11". /// public const int elementId_throttleBaseButton11 = 132; /// /// Element identifier id for "Throttle Base Button 12". /// public const int elementId_throttleBaseButton12 = 133; /// /// Element identifier id for "Throttle Base Button 13". /// public const int elementId_throttleBaseButton13 = 134; /// /// Element identifier id for "Throttle Base Button 14". /// public const int elementId_throttleBaseButton14 = 135; /// /// Element identifier id for "Throttle Base Button 15". /// public const int elementId_throttleBaseButton15 = 136; /// /// Element identifier id for "Throttle Slider 1". /// public const int elementId_throttleSlider1 = 70; /// /// Element identifier id for "Throttle Slider 2". /// public const int elementId_throttleSlider2 = 71; /// /// Element identifier id for "Throttle Slider 3". /// public const int elementId_throttleSlider3 = 72; /// /// Element identifier id for "Throttle Slider 4". /// public const int elementId_throttleSlider4 = 73; /// /// Element identifier id for "Throttle Dial 1". /// public const int elementId_throttleDial1 = 74; /// /// Element identifier id for "Throttle Dial 2". /// public const int elementId_throttleDial2 = 142; /// /// Element identifier id for "Throttle Dial 3". /// public const int elementId_throttleDial3 = 143; /// /// Element identifier id for "Throttle Dial 4". /// public const int elementId_throttleDial4 = 144; /// /// Element identifier id for "Throttle Mini Stick X". /// public const int elementId_throttleMiniStickX = 75; /// /// Element identifier id for "Throttle Mini Stick Y". /// public const int elementId_throttleMiniStickY = 76; /// /// Element identifier id for "Throttle Mini Stick Press". /// public const int elementId_throttleMiniStickPress = 77; /// /// Element identifier id for "Throttle Wheel 1 Forward". /// public const int elementId_throttleWheel1Forward = 145; /// /// Element identifier id for "Throttle Wheel 1 Back". /// public const int elementId_throttleWheel1Back = 146; /// /// Element identifier id for "Throttle Wheel 1 Press". /// public const int elementId_throttleWheel1Press = 147; /// /// Element identifier id for "Throttle Wheel 2 Forward". /// public const int elementId_throttleWheel2Forward = 148; /// /// Element identifier id for "Throttle Wheel 2 Back". /// public const int elementId_throttleWheel2Back = 149; /// /// Element identifier id for "Throttle Wheel 2 Press". /// public const int elementId_throttleWheel2Press = 150; /// /// Element identifier id for "Throttle Wheel 3 Forward". /// public const int elementId_throttleWheel3Forward = 151; /// /// Element identifier id for "Throttle Wheel 3 Back". /// public const int elementId_throttleWheel3Back = 152; /// /// Element identifier id for "Throttle Wheel 3 Press". /// public const int elementId_throttleWheel3Press = 153; /// /// Element identifier id for "Throttle Hat 1 Up". /// public const int elementId_throttleHat1Up = 100; /// /// Element identifier id for "Throttle Hat 1 Up-Right". /// public const int elementId_throttleHat1Up_Right = 101; /// /// Element identifier id for "Throttle Hat 1 Right". /// public const int elementId_throttleHat1Right = 102; /// /// Element identifier id for "Throttle Hat 1 Down-Right". /// public const int elementId_throttleHat1Down_Right = 103; /// /// Element identifier id for "Throttle Hat 1 Down". /// public const int elementId_throttleHat1Down = 104; /// /// Element identifier id for "Throttle Hat 1 Down-Left". /// public const int elementId_throttleHat1Down_Left = 105; /// /// Element identifier id for "Throttle Hat 1 Left". /// public const int elementId_throttleHat1Left = 106; /// /// Element identifier id for "Throttle Hat 1 Up-Left". /// public const int elementId_throttleHat1Up_Left = 107; /// /// Element identifier id for "Throttle Hat 2 Up". /// public const int elementId_throttleHat2Up = 108; /// /// Element identifier id for "Throttle Hat 2 Up-Right". /// public const int elementId_throttleHat2Up_Right = 109; /// /// Element identifier id for "Throttle Hat 2 Right". /// public const int elementId_throttleHat2Right = 110; /// /// Element identifier id for "Throttle Hat 2 Down-Right". /// public const int elementId_throttleHat2Down_Right = 111; /// /// Element identifier id for "Throttle Hat 2 Down". /// public const int elementId_throttleHat2Down = 112; /// /// Element identifier id for "Throttle Hat 2 Down-Left". /// public const int elementId_throttleHat2Down_Left = 113; /// /// Element identifier id for "Throttle Hat 2 Left". /// public const int elementId_throttleHat2Left = 114; /// /// Element identifier id for "Throttle Hat 2 Up-Left". /// public const int elementId_throttleHat2Up_Left = 115; /// /// Element identifier id for "Throttle Hat 3 Up". /// public const int elementId_throttleHat3Up = 116; /// /// Element identifier id for "Throttle Hat 3 Up-Right". /// public const int elementId_throttleHat3Up_Right = 117; /// /// Element identifier id for "Throttle Hat 3 Right". /// public const int elementId_throttleHat3Right = 118; /// /// Element identifier id for "Throttle Hat 3 Down-Right". /// public const int elementId_throttleHat3Down_Right = 119; /// /// Element identifier id for "Throttle Hat 3 Down". /// public const int elementId_throttleHat3Down = 120; /// /// Element identifier id for "Throttle Hat 3 Down-Left". /// public const int elementId_throttleHat3Down_Left = 121; /// /// Element identifier id for "Throttle Hat 3 Left". /// public const int elementId_throttleHat3Left = 122; /// /// Element identifier id for "Throttle Hat 3 Up-Left". /// public const int elementId_throttleHat3Up_Left = 123; /// /// Element identifier id for "Throttle Hat 4 Up". /// public const int elementId_throttleHat4Up = 124; /// /// Element identifier id for "Throttle Hat 4 Up-Right". /// public const int elementId_throttleHat4Up_Right = 125; /// /// Element identifier id for "Throttle Hat 4 Right". /// public const int elementId_throttleHat4Right = 126; /// /// Element identifier id for "Throttle Hat 4 Down-Right". /// public const int elementId_throttleHat4Down_Right = 127; /// /// Element identifier id for "Throttle Hat 4 Down". /// public const int elementId_throttleHat4Down = 128; /// /// Element identifier id for "Throttle Hat 4 Down-Left". /// public const int elementId_throttleHat4Down_Left = 129; /// /// Element identifier id for "Throttle Hat 4 Left". /// public const int elementId_throttleHat4Left = 130; /// /// Element identifier id for "Throttle Hat 4 Up-Left". /// public const int elementId_throttleHat4Up_Left = 131; /// /// Element identifier id for "Left Pedal". /// public const int elementId_leftPedal = 168; /// /// Element identifier id for "Right Pedal". /// public const int elementId_rightPedal = 169; /// /// Element identifier id for "Slide Pedals". /// public const int elementId_slidePedals = 170; /// /// Element identifier id for "Stick". /// public const int elementId_stick = 171; /// /// Element identifier id for "Stick Mini Stick 1". /// public const int elementId_stickMiniStick1 = 172; /// /// Element identifier id for "Stick Mini Stick 2". /// public const int elementId_stickMiniStick2 = 173; /// /// Element identifier id for "Stick Hat 1". /// public const int elementId_stickHat1 = 174; /// /// Element identifier id for "Stick Hat 2". /// public const int elementId_stickHat2 = 175; /// /// Element identifier id for "Stick Hat 3". /// public const int elementId_stickHat3 = 176; /// /// Element identifier id for "Stick Hat 4". /// public const int elementId_stickHat4 = 177; /// /// Element identifier id for "Throttle 1". /// public const int elementId_throttle1 = 178; /// /// Element identifier id for "Throttle 2". /// public const int elementId_throttle2 = 179; /// /// Element identifier id for "Throttle Mini Stick". /// public const int elementId_throttleMiniStick = 180; /// /// Element identifier id for "Throttle Hat 1". /// public const int elementId_throttleHat1 = 181; /// /// Element identifier id for "Throttle Hat 2". /// public const int elementId_throttleHat2 = 182; /// /// Element identifier id for "Throttle Hat 3". /// public const int elementId_throttleHat3 = 183; /// /// Element identifier id for "Throttle Hat 4". /// public const int elementId_throttleHat4 = 184; #endregion #region IHOTASTemplate implementation /// /// The "Stick Trigger" element. /// /// Returns the "Stick Trigger" element. IControllerTemplateButton IHOTASTemplate.stickTrigger { get { return GetElement(elementId_stickTrigger); } } /// /// The "Stick Trigger (Stage 2)" element. /// /// Returns the "Stick Trigger (Stage 2)" element. IControllerTemplateButton IHOTASTemplate.stickTriggerStage2 { get { return GetElement(elementId_stickTriggerStage2); } } /// /// The "Stick Pinky Button" element. /// /// Returns the "Stick Pinky Button" element. IControllerTemplateButton IHOTASTemplate.stickPinkyButton { get { return GetElement(elementId_stickPinkyButton); } } /// /// The "Stick Pinky Trigger" element. /// /// Returns the "Stick Pinky Trigger" element. IControllerTemplateButton IHOTASTemplate.stickPinkyTrigger { get { return GetElement(elementId_stickPinkyTrigger); } } /// /// The "Stick Button 1" element. /// /// Returns the "Stick Button 1" element. IControllerTemplateButton IHOTASTemplate.stickButton1 { get { return GetElement(elementId_stickButton1); } } /// /// The "Stick Button 2" element. /// /// Returns the "Stick Button 2" element. IControllerTemplateButton IHOTASTemplate.stickButton2 { get { return GetElement(elementId_stickButton2); } } /// /// The "Stick Button 3" element. /// /// Returns the "Stick Button 3" element. IControllerTemplateButton IHOTASTemplate.stickButton3 { get { return GetElement(elementId_stickButton3); } } /// /// The "Stick Button 4" element. /// /// Returns the "Stick Button 4" element. IControllerTemplateButton IHOTASTemplate.stickButton4 { get { return GetElement(elementId_stickButton4); } } /// /// The "Stick Button 5" element. /// /// Returns the "Stick Button 5" element. IControllerTemplateButton IHOTASTemplate.stickButton5 { get { return GetElement(elementId_stickButton5); } } /// /// The "Stick Button 6" element. /// /// Returns the "Stick Button 6" element. IControllerTemplateButton IHOTASTemplate.stickButton6 { get { return GetElement(elementId_stickButton6); } } /// /// The "Stick Button 7" element. /// /// Returns the "Stick Button 7" element. IControllerTemplateButton IHOTASTemplate.stickButton7 { get { return GetElement(elementId_stickButton7); } } /// /// The "Stick Button 8" element. /// /// Returns the "Stick Button 8" element. IControllerTemplateButton IHOTASTemplate.stickButton8 { get { return GetElement(elementId_stickButton8); } } /// /// The "Stick Button 9" element. /// /// Returns the "Stick Button 9" element. IControllerTemplateButton IHOTASTemplate.stickButton9 { get { return GetElement(elementId_stickButton9); } } /// /// The "Stick Button 10" element. /// /// Returns the "Stick Button 10" element. IControllerTemplateButton IHOTASTemplate.stickButton10 { get { return GetElement(elementId_stickButton10); } } /// /// The "Stick Base Button 1" element. /// /// Returns the "Stick Base Button 1" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton1 { get { return GetElement(elementId_stickBaseButton1); } } /// /// The "Stick Base Button 2" element. /// /// Returns the "Stick Base Button 2" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton2 { get { return GetElement(elementId_stickBaseButton2); } } /// /// The "Stick Base Button 3" element. /// /// Returns the "Stick Base Button 3" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton3 { get { return GetElement(elementId_stickBaseButton3); } } /// /// The "Stick Base Button 4" element. /// /// Returns the "Stick Base Button 4" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton4 { get { return GetElement(elementId_stickBaseButton4); } } /// /// The "Stick Base Button 5" element. /// /// Returns the "Stick Base Button 5" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton5 { get { return GetElement(elementId_stickBaseButton5); } } /// /// The "Stick Base Button 6" element. /// /// Returns the "Stick Base Button 6" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton6 { get { return GetElement(elementId_stickBaseButton6); } } /// /// The "Stick Base Button 7" element. /// /// Returns the "Stick Base Button 7" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton7 { get { return GetElement(elementId_stickBaseButton7); } } /// /// The "Stick Base Button 8" element. /// /// Returns the "Stick Base Button 8" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton8 { get { return GetElement(elementId_stickBaseButton8); } } /// /// The "Stick Base Button 9" element. /// /// Returns the "Stick Base Button 9" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton9 { get { return GetElement(elementId_stickBaseButton9); } } /// /// The "Stick Base Button 10" element. /// /// Returns the "Stick Base Button 10" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton10 { get { return GetElement(elementId_stickBaseButton10); } } /// /// The "Stick Base Button 11" element. /// /// Returns the "Stick Base Button 11" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton11 { get { return GetElement(elementId_stickBaseButton11); } } /// /// The "Stick Base Button 12" element. /// /// Returns the "Stick Base Button 12" element. IControllerTemplateButton IHOTASTemplate.stickBaseButton12 { get { return GetElement(elementId_stickBaseButton12); } } /// /// The "Mode 1" element. /// /// Returns the "Mode 1" element. IControllerTemplateButton IHOTASTemplate.mode1 { get { return GetElement(elementId_mode1); } } /// /// The "Mode 2" element. /// /// Returns the "Mode 2" element. IControllerTemplateButton IHOTASTemplate.mode2 { get { return GetElement(elementId_mode2); } } /// /// The "Mode 3" element. /// /// Returns the "Mode 3" element. IControllerTemplateButton IHOTASTemplate.mode3 { get { return GetElement(elementId_mode3); } } /// /// The "Throttle Button 1" element. /// /// Returns the "Throttle Button 1" element. IControllerTemplateButton IHOTASTemplate.throttleButton1 { get { return GetElement(elementId_throttleButton1); } } /// /// The "Throttle Button 2" element. /// /// Returns the "Throttle Button 2" element. IControllerTemplateButton IHOTASTemplate.throttleButton2 { get { return GetElement(elementId_throttleButton2); } } /// /// The "Throttle Button 3" element. /// /// Returns the "Throttle Button 3" element. IControllerTemplateButton IHOTASTemplate.throttleButton3 { get { return GetElement(elementId_throttleButton3); } } /// /// The "Throttle Button 4" element. /// /// Returns the "Throttle Button 4" element. IControllerTemplateButton IHOTASTemplate.throttleButton4 { get { return GetElement(elementId_throttleButton4); } } /// /// The "Throttle Button 5" element. /// /// Returns the "Throttle Button 5" element. IControllerTemplateButton IHOTASTemplate.throttleButton5 { get { return GetElement(elementId_throttleButton5); } } /// /// The "Throttle Button 6" element. /// /// Returns the "Throttle Button 6" element. IControllerTemplateButton IHOTASTemplate.throttleButton6 { get { return GetElement(elementId_throttleButton6); } } /// /// The "Throttle Button 7" element. /// /// Returns the "Throttle Button 7" element. IControllerTemplateButton IHOTASTemplate.throttleButton7 { get { return GetElement(elementId_throttleButton7); } } /// /// The "Throttle Button 8" element. /// /// Returns the "Throttle Button 8" element. IControllerTemplateButton IHOTASTemplate.throttleButton8 { get { return GetElement(elementId_throttleButton8); } } /// /// The "Throttle Button 9" element. /// /// Returns the "Throttle Button 9" element. IControllerTemplateButton IHOTASTemplate.throttleButton9 { get { return GetElement(elementId_throttleButton9); } } /// /// The "Throttle Button 10" element. /// /// Returns the "Throttle Button 10" element. IControllerTemplateButton IHOTASTemplate.throttleButton10 { get { return GetElement(elementId_throttleButton10); } } /// /// The "Throttle Base Button 1" element. /// /// Returns the "Throttle Base Button 1" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton1 { get { return GetElement(elementId_throttleBaseButton1); } } /// /// The "Throttle Base Button 2" element. /// /// Returns the "Throttle Base Button 2" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton2 { get { return GetElement(elementId_throttleBaseButton2); } } /// /// The "Throttle Base Button 3" element. /// /// Returns the "Throttle Base Button 3" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton3 { get { return GetElement(elementId_throttleBaseButton3); } } /// /// The "Throttle Base Button 4" element. /// /// Returns the "Throttle Base Button 4" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton4 { get { return GetElement(elementId_throttleBaseButton4); } } /// /// The "Throttle Base Button 5" element. /// /// Returns the "Throttle Base Button 5" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton5 { get { return GetElement(elementId_throttleBaseButton5); } } /// /// The "Throttle Base Button 6" element. /// /// Returns the "Throttle Base Button 6" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton6 { get { return GetElement(elementId_throttleBaseButton6); } } /// /// The "Throttle Base Button 7" element. /// /// Returns the "Throttle Base Button 7" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton7 { get { return GetElement(elementId_throttleBaseButton7); } } /// /// The "Throttle Base Button 8" element. /// /// Returns the "Throttle Base Button 8" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton8 { get { return GetElement(elementId_throttleBaseButton8); } } /// /// The "Throttle Base Button 9" element. /// /// Returns the "Throttle Base Button 9" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton9 { get { return GetElement(elementId_throttleBaseButton9); } } /// /// The "Throttle Base Button 10" element. /// /// Returns the "Throttle Base Button 10" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton10 { get { return GetElement(elementId_throttleBaseButton10); } } /// /// The "Throttle Base Button 11" element. /// /// Returns the "Throttle Base Button 11" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton11 { get { return GetElement(elementId_throttleBaseButton11); } } /// /// The "Throttle Base Button 12" element. /// /// Returns the "Throttle Base Button 12" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton12 { get { return GetElement(elementId_throttleBaseButton12); } } /// /// The "Throttle Base Button 13" element. /// /// Returns the "Throttle Base Button 13" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton13 { get { return GetElement(elementId_throttleBaseButton13); } } /// /// The "Throttle Base Button 14" element. /// /// Returns the "Throttle Base Button 14" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton14 { get { return GetElement(elementId_throttleBaseButton14); } } /// /// The "Throttle Base Button 15" element. /// /// Returns the "Throttle Base Button 15" element. IControllerTemplateButton IHOTASTemplate.throttleBaseButton15 { get { return GetElement(elementId_throttleBaseButton15); } } /// /// The "Throttle Slider 1" element. /// /// Returns the "Throttle Slider 1" element. IControllerTemplateAxis IHOTASTemplate.throttleSlider1 { get { return GetElement(elementId_throttleSlider1); } } /// /// The "Throttle Slider 2" element. /// /// Returns the "Throttle Slider 2" element. IControllerTemplateAxis IHOTASTemplate.throttleSlider2 { get { return GetElement(elementId_throttleSlider2); } } /// /// The "Throttle Slider 3" element. /// /// Returns the "Throttle Slider 3" element. IControllerTemplateAxis IHOTASTemplate.throttleSlider3 { get { return GetElement(elementId_throttleSlider3); } } /// /// The "Throttle Slider 4" element. /// /// Returns the "Throttle Slider 4" element. IControllerTemplateAxis IHOTASTemplate.throttleSlider4 { get { return GetElement(elementId_throttleSlider4); } } /// /// The "Throttle Dial 1" element. /// /// Returns the "Throttle Dial 1" element. IControllerTemplateAxis IHOTASTemplate.throttleDial1 { get { return GetElement(elementId_throttleDial1); } } /// /// The "Throttle Dial 2" element. /// /// Returns the "Throttle Dial 2" element. IControllerTemplateAxis IHOTASTemplate.throttleDial2 { get { return GetElement(elementId_throttleDial2); } } /// /// The "Throttle Dial 3" element. /// /// Returns the "Throttle Dial 3" element. IControllerTemplateAxis IHOTASTemplate.throttleDial3 { get { return GetElement(elementId_throttleDial3); } } /// /// The "Throttle Dial 4" element. /// /// Returns the "Throttle Dial 4" element. IControllerTemplateAxis IHOTASTemplate.throttleDial4 { get { return GetElement(elementId_throttleDial4); } } /// /// The "Throttle Wheel 1 Forward" element. /// /// Returns the "Throttle Wheel 1 Forward" element. IControllerTemplateButton IHOTASTemplate.throttleWheel1Forward { get { return GetElement(elementId_throttleWheel1Forward); } } /// /// The "Throttle Wheel 1 Back" element. /// /// Returns the "Throttle Wheel 1 Back" element. IControllerTemplateButton IHOTASTemplate.throttleWheel1Back { get { return GetElement(elementId_throttleWheel1Back); } } /// /// The "Throttle Wheel 1 Press" element. /// /// Returns the "Throttle Wheel 1 Press" element. IControllerTemplateButton IHOTASTemplate.throttleWheel1Press { get { return GetElement(elementId_throttleWheel1Press); } } /// /// The "Throttle Wheel 2 Forward" element. /// /// Returns the "Throttle Wheel 2 Forward" element. IControllerTemplateButton IHOTASTemplate.throttleWheel2Forward { get { return GetElement(elementId_throttleWheel2Forward); } } /// /// The "Throttle Wheel 2 Back" element. /// /// Returns the "Throttle Wheel 2 Back" element. IControllerTemplateButton IHOTASTemplate.throttleWheel2Back { get { return GetElement(elementId_throttleWheel2Back); } } /// /// The "Throttle Wheel 2 Press" element. /// /// Returns the "Throttle Wheel 2 Press" element. IControllerTemplateButton IHOTASTemplate.throttleWheel2Press { get { return GetElement(elementId_throttleWheel2Press); } } /// /// The "Throttle Wheel 3 Forward" element. /// /// Returns the "Throttle Wheel 3 Forward" element. IControllerTemplateButton IHOTASTemplate.throttleWheel3Forward { get { return GetElement(elementId_throttleWheel3Forward); } } /// /// The "Throttle Wheel 3 Back" element. /// /// Returns the "Throttle Wheel 3 Back" element. IControllerTemplateButton IHOTASTemplate.throttleWheel3Back { get { return GetElement(elementId_throttleWheel3Back); } } /// /// The "Throttle Wheel 3 Press" element. /// /// Returns the "Throttle Wheel 3 Press" element. IControllerTemplateButton IHOTASTemplate.throttleWheel3Press { get { return GetElement(elementId_throttleWheel3Press); } } /// /// The "Left Pedal" element. /// /// Returns the "Left Pedal" element. IControllerTemplateAxis IHOTASTemplate.leftPedal { get { return GetElement(elementId_leftPedal); } } /// /// The "Right Pedal" element. /// /// Returns the "Right Pedal" element. IControllerTemplateAxis IHOTASTemplate.rightPedal { get { return GetElement(elementId_rightPedal); } } /// /// The "Slide Pedals" element. /// /// Returns the "Slide Pedals" element. IControllerTemplateAxis IHOTASTemplate.slidePedals { get { return GetElement(elementId_slidePedals); } } /// /// The "Stick" element. /// /// Returns the "Stick" element. IControllerTemplateStick IHOTASTemplate.stick { get { return GetElement(elementId_stick); } } /// /// The "Stick Mini Stick 1" element. /// /// Returns the "Stick Mini Stick 1" element. IControllerTemplateThumbStick IHOTASTemplate.stickMiniStick1 { get { return GetElement(elementId_stickMiniStick1); } } /// /// The "Stick Mini Stick 2" element. /// /// Returns the "Stick Mini Stick 2" element. IControllerTemplateThumbStick IHOTASTemplate.stickMiniStick2 { get { return GetElement(elementId_stickMiniStick2); } } /// /// The "Stick Hat 1" element. /// /// Returns the "Stick Hat 1" element. IControllerTemplateHat IHOTASTemplate.stickHat1 { get { return GetElement(elementId_stickHat1); } } /// /// The "Stick Hat 2" element. /// /// Returns the "Stick Hat 2" element. IControllerTemplateHat IHOTASTemplate.stickHat2 { get { return GetElement(elementId_stickHat2); } } /// /// The "Stick Hat 3" element. /// /// Returns the "Stick Hat 3" element. IControllerTemplateHat IHOTASTemplate.stickHat3 { get { return GetElement(elementId_stickHat3); } } /// /// The "Stick Hat 4" element. /// /// Returns the "Stick Hat 4" element. IControllerTemplateHat IHOTASTemplate.stickHat4 { get { return GetElement(elementId_stickHat4); } } /// /// The "Throttle 1" element. /// /// Returns the "Throttle 1" element. IControllerTemplateThrottle IHOTASTemplate.throttle1 { get { return GetElement(elementId_throttle1); } } /// /// The "Throttle 2" element. /// /// Returns the "Throttle 2" element. IControllerTemplateThrottle IHOTASTemplate.throttle2 { get { return GetElement(elementId_throttle2); } } /// /// The "Throttle Mini Stick" element. /// /// Returns the "Throttle Mini Stick" element. IControllerTemplateThumbStick IHOTASTemplate.throttleMiniStick { get { return GetElement(elementId_throttleMiniStick); } } /// /// The "Throttle Hat 1" element. /// /// Returns the "Throttle Hat 1" element. IControllerTemplateHat IHOTASTemplate.throttleHat1 { get { return GetElement(elementId_throttleHat1); } } /// /// The "Throttle Hat 2" element. /// /// Returns the "Throttle Hat 2" element. IControllerTemplateHat IHOTASTemplate.throttleHat2 { get { return GetElement(elementId_throttleHat2); } } /// /// The "Throttle Hat 3" element. /// /// Returns the "Throttle Hat 3" element. IControllerTemplateHat IHOTASTemplate.throttleHat3 { get { return GetElement(elementId_throttleHat3); } } /// /// The "Throttle Hat 4" element. /// /// Returns the "Throttle Hat 4" element. IControllerTemplateHat IHOTASTemplate.throttleHat4 { get { return GetElement(elementId_throttleHat4); } } #endregion /// /// Creates a new instance of this class. /// public HOTASTemplate(object payload) : base(payload) { } } /// /// Class representing a Flight Yoke Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class FlightYokeTemplate : ControllerTemplate, IFlightYokeTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("f311fa16-0ccc-41c0-ac4b-50f7100bb8ff"); #region Constants /// /// Element identifier id for "Rotate Yoke". /// public const int elementId_rotateYoke = 0; /// /// Element identifier id for "Yoke Z". /// public const int elementId_yokeZ = 1; /// /// Element identifier id for "Left Paddle". /// public const int elementId_leftPaddle = 59; /// /// Element identifier id for "Right Paddle". /// public const int elementId_rightPaddle = 60; /// /// Element identifier id for "Lever 1". /// public const int elementId_lever1Axis = 2; /// /// Element identifier id for "Lever 1 Min Detent". /// public const int elementId_lever1MinDetent = 64; /// /// Element identifier id for "Lever 2". /// public const int elementId_lever2Axis = 3; /// /// Element identifier id for "Lever 2 Min Detent". /// public const int elementId_lever2MinDetent = 65; /// /// Element identifier id for "Lever 3". /// public const int elementId_lever3Axis = 4; /// /// Element identifier id for "Lever 3 Min Detent". /// public const int elementId_lever3MinDetent = 66; /// /// Element identifier id for "Lever 4". /// public const int elementId_lever4Axis = 5; /// /// Element identifier id for "Lever 4 Min Detent". /// public const int elementId_lever4MinDetent = 67; /// /// Element identifier id for "Lever 5". /// public const int elementId_lever5Axis = 6; /// /// Element identifier id for "Lever 5 Min Detent". /// public const int elementId_lever5MinDetent = 68; /// /// Element identifier id for "Left Grip Button 1". /// public const int elementId_leftGripButton1 = 7; /// /// Element identifier id for "Left Grip Button 2". /// public const int elementId_leftGripButton2 = 8; /// /// Element identifier id for "Left Grip Button 3". /// public const int elementId_leftGripButton3 = 9; /// /// Element identifier id for "Left Grip Button 4". /// public const int elementId_leftGripButton4 = 10; /// /// Element identifier id for "Left Grip Button 5". /// public const int elementId_leftGripButton5 = 11; /// /// Element identifier id for "Left Grip Button 6". /// public const int elementId_leftGripButton6 = 12; /// /// Element identifier id for "Right Grip Button 1". /// public const int elementId_rightGripButton1 = 13; /// /// Element identifier id for "Right Grip Button 2". /// public const int elementId_rightGripButton2 = 14; /// /// Element identifier id for "Right Grip Button 3". /// public const int elementId_rightGripButton3 = 15; /// /// Element identifier id for "Right Grip Button 4". /// public const int elementId_rightGripButton4 = 16; /// /// Element identifier id for "Right Grip Button 5". /// public const int elementId_rightGripButton5 = 17; /// /// Element identifier id for "Right Grip Button 6". /// public const int elementId_rightGripButton6 = 18; /// /// Element identifier id for "Center Button 1". /// public const int elementId_centerButton1 = 19; /// /// Element identifier id for "Center Button 2". /// public const int elementId_centerButton2 = 20; /// /// Element identifier id for "Center Button 3". /// public const int elementId_centerButton3 = 21; /// /// Element identifier id for "Center Button 4". /// public const int elementId_centerButton4 = 22; /// /// Element identifier id for "Center Button 5". /// public const int elementId_centerButton5 = 23; /// /// Element identifier id for "Center Button 6". /// public const int elementId_centerButton6 = 24; /// /// Element identifier id for "Center Button 7". /// public const int elementId_centerButton7 = 25; /// /// Element identifier id for "Center Button 8". /// public const int elementId_centerButton8 = 26; /// /// Element identifier id for "Wheel 1 Up". /// public const int elementId_wheel1Up = 53; /// /// Element identifier id for "Wheel 1 Down". /// public const int elementId_wheel1Down = 54; /// /// Element identifier id for "Wheel 1 Press". /// public const int elementId_wheel1Press = 55; /// /// Element identifier id for "Wheel 2 Up". /// public const int elementId_wheel2Up = 56; /// /// Element identifier id for "Wheel 2 Down". /// public const int elementId_wheel2Down = 57; /// /// Element identifier id for "Wheel 2 Press". /// public const int elementId_wheel2Press = 58; /// /// Element identifier id for "Left Grip Hat Up". /// public const int elementId_leftGripHatUp = 27; /// /// Element identifier id for "Left Grip Hat Up-Right". /// public const int elementId_leftGripHatUpRight = 28; /// /// Element identifier id for "Left Grip Hat Right". /// public const int elementId_leftGripHatRight = 29; /// /// Element identifier id for "Left Grip Hat Down-Right". /// public const int elementId_leftGripHatDownRight = 30; /// /// Element identifier id for "Left Grip Hat Down". /// public const int elementId_leftGripHatDown = 31; /// /// Element identifier id for "Left Grip Hat Down-Left". /// public const int elementId_leftGripHatDownLeft = 32; /// /// Element identifier id for "Left Grip Hat Left". /// public const int elementId_leftGripHatLeft = 33; /// /// Element identifier id for "Left Grip Hat Up-Left". /// public const int elementId_leftGripHatUpLeft = 34; /// /// Element identifier id for "Right Grip Hat Up". /// public const int elementId_rightGripHatUp = 35; /// /// Element identifier id for "Right Grip Hat Up-Right". /// public const int elementId_rightGripHatUpRight = 36; /// /// Element identifier id for "Right Grip Hat Right". /// public const int elementId_rightGripHatRight = 37; /// /// Element identifier id for "Right Grip Hat Down-Right". /// public const int elementId_rightGripHatDownRight = 38; /// /// Element identifier id for "Right Grip Hat Down". /// public const int elementId_rightGripHatDown = 39; /// /// Element identifier id for "Right Grip Hat Down-Left". /// public const int elementId_rightGripHatDownLeft = 40; /// /// Element identifier id for "Right Grip Hat Left". /// public const int elementId_rightGripHatLeft = 41; /// /// Element identifier id for "Right Grip Hat Up-Left". /// public const int elementId_rightGripHatUpLeft = 42; /// /// Element identifier id for "Console Button 1". /// public const int elementId_consoleButton1 = 43; /// /// Element identifier id for "Console Button 2". /// public const int elementId_consoleButton2 = 44; /// /// Element identifier id for "Console Button 3". /// public const int elementId_consoleButton3 = 45; /// /// Element identifier id for "Console Button 4". /// public const int elementId_consoleButton4 = 46; /// /// Element identifier id for "Console Button 5". /// public const int elementId_consoleButton5 = 47; /// /// Element identifier id for "Console Button 6". /// public const int elementId_consoleButton6 = 48; /// /// Element identifier id for "Console Button 7". /// public const int elementId_consoleButton7 = 49; /// /// Element identifier id for "Console Button 8". /// public const int elementId_consoleButton8 = 50; /// /// Element identifier id for "Console Button 9". /// public const int elementId_consoleButton9 = 51; /// /// Element identifier id for "Console Button 10". /// public const int elementId_consoleButton10 = 52; /// /// Element identifier id for "Mode 1". /// public const int elementId_mode1 = 61; /// /// Element identifier id for "Mode 2". /// public const int elementId_mode2 = 62; /// /// Element identifier id for "Mode 3". /// public const int elementId_mode3 = 63; /// /// Element identifier id for "Yoke". /// public const int elementId_yoke = 69; /// /// Element identifier id for "Lever 1". /// public const int elementId_lever1 = 70; /// /// Element identifier id for "Lever 2". /// public const int elementId_lever2 = 71; /// /// Element identifier id for "Lever 3". /// public const int elementId_lever3 = 72; /// /// Element identifier id for "Lever 4". /// public const int elementId_lever4 = 73; /// /// Element identifier id for "Lever 5". /// public const int elementId_lever5 = 74; /// /// Element identifier id for "Left Grip Hat". /// public const int elementId_leftGripHat = 75; /// /// Element identifier id for "Right Grip Hat". /// public const int elementId_rightGripHat = 76; #endregion #region IFlightYokeTemplate implementation /// /// The "Left Paddle" element. /// /// Returns the "Left Paddle" element. IControllerTemplateButton IFlightYokeTemplate.leftPaddle { get { return GetElement(elementId_leftPaddle); } } /// /// The "Right Paddle" element. /// /// Returns the "Right Paddle" element. IControllerTemplateButton IFlightYokeTemplate.rightPaddle { get { return GetElement(elementId_rightPaddle); } } /// /// The "Left Grip Button 1" element. /// /// Returns the "Left Grip Button 1" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton1 { get { return GetElement(elementId_leftGripButton1); } } /// /// The "Left Grip Button 2" element. /// /// Returns the "Left Grip Button 2" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton2 { get { return GetElement(elementId_leftGripButton2); } } /// /// The "Left Grip Button 3" element. /// /// Returns the "Left Grip Button 3" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton3 { get { return GetElement(elementId_leftGripButton3); } } /// /// The "Left Grip Button 4" element. /// /// Returns the "Left Grip Button 4" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton4 { get { return GetElement(elementId_leftGripButton4); } } /// /// The "Left Grip Button 5" element. /// /// Returns the "Left Grip Button 5" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton5 { get { return GetElement(elementId_leftGripButton5); } } /// /// The "Left Grip Button 6" element. /// /// Returns the "Left Grip Button 6" element. IControllerTemplateButton IFlightYokeTemplate.leftGripButton6 { get { return GetElement(elementId_leftGripButton6); } } /// /// The "Right Grip Button 1" element. /// /// Returns the "Right Grip Button 1" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton1 { get { return GetElement(elementId_rightGripButton1); } } /// /// The "Right Grip Button 2" element. /// /// Returns the "Right Grip Button 2" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton2 { get { return GetElement(elementId_rightGripButton2); } } /// /// The "Right Grip Button 3" element. /// /// Returns the "Right Grip Button 3" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton3 { get { return GetElement(elementId_rightGripButton3); } } /// /// The "Right Grip Button 4" element. /// /// Returns the "Right Grip Button 4" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton4 { get { return GetElement(elementId_rightGripButton4); } } /// /// The "Right Grip Button 5" element. /// /// Returns the "Right Grip Button 5" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton5 { get { return GetElement(elementId_rightGripButton5); } } /// /// The "Right Grip Button 6" element. /// /// Returns the "Right Grip Button 6" element. IControllerTemplateButton IFlightYokeTemplate.rightGripButton6 { get { return GetElement(elementId_rightGripButton6); } } /// /// The "Center Button 1" element. /// /// Returns the "Center Button 1" element. IControllerTemplateButton IFlightYokeTemplate.centerButton1 { get { return GetElement(elementId_centerButton1); } } /// /// The "Center Button 2" element. /// /// Returns the "Center Button 2" element. IControllerTemplateButton IFlightYokeTemplate.centerButton2 { get { return GetElement(elementId_centerButton2); } } /// /// The "Center Button 3" element. /// /// Returns the "Center Button 3" element. IControllerTemplateButton IFlightYokeTemplate.centerButton3 { get { return GetElement(elementId_centerButton3); } } /// /// The "Center Button 4" element. /// /// Returns the "Center Button 4" element. IControllerTemplateButton IFlightYokeTemplate.centerButton4 { get { return GetElement(elementId_centerButton4); } } /// /// The "Center Button 5" element. /// /// Returns the "Center Button 5" element. IControllerTemplateButton IFlightYokeTemplate.centerButton5 { get { return GetElement(elementId_centerButton5); } } /// /// The "Center Button 6" element. /// /// Returns the "Center Button 6" element. IControllerTemplateButton IFlightYokeTemplate.centerButton6 { get { return GetElement(elementId_centerButton6); } } /// /// The "Center Button 7" element. /// /// Returns the "Center Button 7" element. IControllerTemplateButton IFlightYokeTemplate.centerButton7 { get { return GetElement(elementId_centerButton7); } } /// /// The "Center Button 8" element. /// /// Returns the "Center Button 8" element. IControllerTemplateButton IFlightYokeTemplate.centerButton8 { get { return GetElement(elementId_centerButton8); } } /// /// The "Wheel 1 Up" element. /// /// Returns the "Wheel 1 Up" element. IControllerTemplateButton IFlightYokeTemplate.wheel1Up { get { return GetElement(elementId_wheel1Up); } } /// /// The "Wheel 1 Down" element. /// /// Returns the "Wheel 1 Down" element. IControllerTemplateButton IFlightYokeTemplate.wheel1Down { get { return GetElement(elementId_wheel1Down); } } /// /// The "Wheel 1 Press" element. /// /// Returns the "Wheel 1 Press" element. IControllerTemplateButton IFlightYokeTemplate.wheel1Press { get { return GetElement(elementId_wheel1Press); } } /// /// The "Wheel 2 Up" element. /// /// Returns the "Wheel 2 Up" element. IControllerTemplateButton IFlightYokeTemplate.wheel2Up { get { return GetElement(elementId_wheel2Up); } } /// /// The "Wheel 2 Down" element. /// /// Returns the "Wheel 2 Down" element. IControllerTemplateButton IFlightYokeTemplate.wheel2Down { get { return GetElement(elementId_wheel2Down); } } /// /// The "Wheel 2 Press" element. /// /// Returns the "Wheel 2 Press" element. IControllerTemplateButton IFlightYokeTemplate.wheel2Press { get { return GetElement(elementId_wheel2Press); } } /// /// The "Console Button 1" element. /// /// Returns the "Console Button 1" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton1 { get { return GetElement(elementId_consoleButton1); } } /// /// The "Console Button 2" element. /// /// Returns the "Console Button 2" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton2 { get { return GetElement(elementId_consoleButton2); } } /// /// The "Console Button 3" element. /// /// Returns the "Console Button 3" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton3 { get { return GetElement(elementId_consoleButton3); } } /// /// The "Console Button 4" element. /// /// Returns the "Console Button 4" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton4 { get { return GetElement(elementId_consoleButton4); } } /// /// The "Console Button 5" element. /// /// Returns the "Console Button 5" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton5 { get { return GetElement(elementId_consoleButton5); } } /// /// The "Console Button 6" element. /// /// Returns the "Console Button 6" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton6 { get { return GetElement(elementId_consoleButton6); } } /// /// The "Console Button 7" element. /// /// Returns the "Console Button 7" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton7 { get { return GetElement(elementId_consoleButton7); } } /// /// The "Console Button 8" element. /// /// Returns the "Console Button 8" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton8 { get { return GetElement(elementId_consoleButton8); } } /// /// The "Console Button 9" element. /// /// Returns the "Console Button 9" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton9 { get { return GetElement(elementId_consoleButton9); } } /// /// The "Console Button 10" element. /// /// Returns the "Console Button 10" element. IControllerTemplateButton IFlightYokeTemplate.consoleButton10 { get { return GetElement(elementId_consoleButton10); } } /// /// The "Mode 1" element. /// /// Returns the "Mode 1" element. IControllerTemplateButton IFlightYokeTemplate.mode1 { get { return GetElement(elementId_mode1); } } /// /// The "Mode 2" element. /// /// Returns the "Mode 2" element. IControllerTemplateButton IFlightYokeTemplate.mode2 { get { return GetElement(elementId_mode2); } } /// /// The "Mode 3" element. /// /// Returns the "Mode 3" element. IControllerTemplateButton IFlightYokeTemplate.mode3 { get { return GetElement(elementId_mode3); } } /// /// The "Yoke" element. /// /// Returns the "Yoke" element. IControllerTemplateYoke IFlightYokeTemplate.yoke { get { return GetElement(elementId_yoke); } } /// /// The "Lever 1" element. /// /// Returns the "Lever 1" element. IControllerTemplateThrottle IFlightYokeTemplate.lever1 { get { return GetElement(elementId_lever1); } } /// /// The "Lever 2" element. /// /// Returns the "Lever 2" element. IControllerTemplateThrottle IFlightYokeTemplate.lever2 { get { return GetElement(elementId_lever2); } } /// /// The "Lever 3" element. /// /// Returns the "Lever 3" element. IControllerTemplateThrottle IFlightYokeTemplate.lever3 { get { return GetElement(elementId_lever3); } } /// /// The "Lever 4" element. /// /// Returns the "Lever 4" element. IControllerTemplateThrottle IFlightYokeTemplate.lever4 { get { return GetElement(elementId_lever4); } } /// /// The "Lever 5" element. /// /// Returns the "Lever 5" element. IControllerTemplateThrottle IFlightYokeTemplate.lever5 { get { return GetElement(elementId_lever5); } } /// /// The "Left Grip Hat" element. /// /// Returns the "Left Grip Hat" element. IControllerTemplateHat IFlightYokeTemplate.leftGripHat { get { return GetElement(elementId_leftGripHat); } } /// /// The "Right Grip Hat" element. /// /// Returns the "Right Grip Hat" element. IControllerTemplateHat IFlightYokeTemplate.rightGripHat { get { return GetElement(elementId_rightGripHat); } } #endregion /// /// Creates a new instance of this class. /// public FlightYokeTemplate(object payload) : base(payload) { } } /// /// Class representing a Flight Pedals Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class FlightPedalsTemplate : ControllerTemplate, IFlightPedalsTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("f6fe76f8-be2a-4db2-b853-9e3652075913"); #region Constants /// /// Element identifier id for "Left Pedal". /// public const int elementId_leftPedal = 0; /// /// Element identifier id for "Right Pedal". /// public const int elementId_rightPedal = 1; /// /// Element identifier id for "Slide". /// public const int elementId_slide = 2; #endregion #region IFlightPedalsTemplate implementation /// /// The "Left Pedal" element. /// /// Returns the "Left Pedal" element. IControllerTemplateAxis IFlightPedalsTemplate.leftPedal { get { return GetElement(elementId_leftPedal); } } /// /// The "Right Pedal" element. /// /// Returns the "Right Pedal" element. IControllerTemplateAxis IFlightPedalsTemplate.rightPedal { get { return GetElement(elementId_rightPedal); } } /// /// The "Slide" element. /// /// Returns the "Slide" element. IControllerTemplateAxis IFlightPedalsTemplate.slide { get { return GetElement(elementId_slide); } } #endregion /// /// Creates a new instance of this class. /// public FlightPedalsTemplate(object payload) : base(payload) { } } /// /// Class representing a 6 DoF Controller Template. /// This class contains constants. Do not use this class to interact with the Rewired API. /// Use the interface instead. /// public sealed partial class SixDofControllerTemplate : ControllerTemplate, ISixDofControllerTemplate { /// /// The type Guid of the Controller Template. /// public static readonly System.Guid typeGuid = new System.Guid("2599beb3-522b-43dd-a4ef-93fd60e5eafa"); #region Constants /// /// Element identifier id for "Horizontal". /// public const int elementId_positionX = 1; /// /// Element identifier id for "Vertical". /// public const int elementId_positionY = 2; /// /// Element identifier id for "Forward/Back". /// public const int elementId_positionZ = 0; /// /// Element identifier id for "Rotate X". /// public const int elementId_rotationX = 3; /// /// Element identifier id for "Rotate Y". /// public const int elementId_rotationY = 5; /// /// Element identifier id for "Rotate Z". /// public const int elementId_rotationZ = 4; /// /// Element identifier id for "Throttle 1". /// public const int elementId_throttle1Axis = 6; /// /// Element identifier id for "Throttle 1 Min Detent". /// public const int elementId_throttle1MinDetent = 50; /// /// Element identifier id for "Throttle 2". /// public const int elementId_throttle2Axis = 7; /// /// Element identifier id for "Throttle 2 Min Detent". /// public const int elementId_throttle2MinDetent = 51; /// /// Element identifier id for "Extra Axis 1". /// public const int elementId_extraAxis1 = 8; /// /// Element identifier id for "Extra Axis 2". /// public const int elementId_extraAxis2 = 9; /// /// Element identifier id for "Extra Axis 3". /// public const int elementId_extraAxis3 = 10; /// /// Element identifier id for "Extra Axis 4". /// public const int elementId_extraAxis4 = 11; /// /// Element identifier id for "Button 1". /// public const int elementId_button1 = 12; /// /// Element identifier id for "Button 2". /// public const int elementId_button2 = 13; /// /// Element identifier id for "Button 3". /// public const int elementId_button3 = 14; /// /// Element identifier id for "Button 4". /// public const int elementId_button4 = 15; /// /// Element identifier id for "Button 5". /// public const int elementId_button5 = 16; /// /// Element identifier id for "Button 6". /// public const int elementId_button6 = 17; /// /// Element identifier id for "Button 7". /// public const int elementId_button7 = 18; /// /// Element identifier id for "Button 8". /// public const int elementId_button8 = 19; /// /// Element identifier id for "Button 9". /// public const int elementId_button9 = 20; /// /// Element identifier id for "Button 10". /// public const int elementId_button10 = 21; /// /// Element identifier id for "Button 11". /// public const int elementId_button11 = 22; /// /// Element identifier id for "Button 12". /// public const int elementId_button12 = 23; /// /// Element identifier id for "Button 13". /// public const int elementId_button13 = 24; /// /// Element identifier id for "Button 14". /// public const int elementId_button14 = 25; /// /// Element identifier id for "Button 15". /// public const int elementId_button15 = 26; /// /// Element identifier id for "Button 16". /// public const int elementId_button16 = 27; /// /// Element identifier id for "Button 17". /// public const int elementId_button17 = 28; /// /// Element identifier id for "Button 18". /// public const int elementId_button18 = 29; /// /// Element identifier id for "Button 19". /// public const int elementId_button19 = 30; /// /// Element identifier id for "Button 20". /// public const int elementId_button20 = 31; /// /// Element identifier id for "Button 21". /// public const int elementId_button21 = 55; /// /// Element identifier id for "Button 22". /// public const int elementId_button22 = 56; /// /// Element identifier id for "Button 23". /// public const int elementId_button23 = 57; /// /// Element identifier id for "Button 24". /// public const int elementId_button24 = 58; /// /// Element identifier id for "Button 25". /// public const int elementId_button25 = 59; /// /// Element identifier id for "Button 26". /// public const int elementId_button26 = 60; /// /// Element identifier id for "Button 27". /// public const int elementId_button27 = 61; /// /// Element identifier id for "Button 28". /// public const int elementId_button28 = 62; /// /// Element identifier id for "Button 29". /// public const int elementId_button29 = 63; /// /// Element identifier id for "Button 30". /// public const int elementId_button30 = 64; /// /// Element identifier id for "Button 31". /// public const int elementId_button31 = 65; /// /// Element identifier id for "Button 32". /// public const int elementId_button32 = 66; /// /// Element identifier id for "Hat 1 Up". /// public const int elementId_hat1Up = 32; /// /// Element identifier id for "Hat 1 Up-Right". /// public const int elementId_hat1UpRight = 33; /// /// Element identifier id for "Hat 1 Right". /// public const int elementId_hat1Right = 34; /// /// Element identifier id for "Hat 1 Down-Right". /// public const int elementId_hat1DownRight = 35; /// /// Element identifier id for "Hat 1 Down". /// public const int elementId_hat1Down = 36; /// /// Element identifier id for "Hat 1 Down-Left". /// public const int elementId_hat1DownLeft = 37; /// /// Element identifier id for "Hat 1 Left". /// public const int elementId_hat1Left = 38; /// /// Element identifier id for "Hat 1 Up-Left". /// public const int elementId_hat1UpLeft = 39; /// /// Element identifier id for "Hat 2 Up". /// public const int elementId_hat2Up = 40; /// /// Element identifier id for "Hat 2 Up-Right". /// public const int elementId_hat2UpRight = 41; /// /// Element identifier id for "Hat 2 Right". /// public const int elementId_hat2Right = 42; /// /// Element identifier id for "Hat 2 Down-Right". /// public const int elementId_hat2DownRight = 43; /// /// Element identifier id for "Hat 2 Down". /// public const int elementId_hat2Down = 44; /// /// Element identifier id for "Hat 2 Down-Left". /// public const int elementId_hat2DownLeft = 45; /// /// Element identifier id for "Hat 2 Left". /// public const int elementId_hat2Left = 46; /// /// Element identifier id for "Hat 2 Up-Left". /// public const int elementId_hat2UpLeft = 47; /// /// Element identifier id for "Hat 1". /// public const int elementId_hat1 = 48; /// /// Element identifier id for "Hat 2". /// public const int elementId_hat2 = 49; /// /// Element identifier id for "Throttle 1". /// public const int elementId_throttle1 = 52; /// /// Element identifier id for "Throttle 2". /// public const int elementId_throttle2 = 53; /// /// Element identifier id for "Stick". /// public const int elementId_stick = 54; #endregion #region ISixDofControllerTemplate implementation /// /// The "Extra Axis 1" element. /// /// Returns the "Extra Axis 1" element. IControllerTemplateAxis ISixDofControllerTemplate.extraAxis1 { get { return GetElement(elementId_extraAxis1); } } /// /// The "Extra Axis 2" element. /// /// Returns the "Extra Axis 2" element. IControllerTemplateAxis ISixDofControllerTemplate.extraAxis2 { get { return GetElement(elementId_extraAxis2); } } /// /// The "Extra Axis 3" element. /// /// Returns the "Extra Axis 3" element. IControllerTemplateAxis ISixDofControllerTemplate.extraAxis3 { get { return GetElement(elementId_extraAxis3); } } /// /// The "Extra Axis 4" element. /// /// Returns the "Extra Axis 4" element. IControllerTemplateAxis ISixDofControllerTemplate.extraAxis4 { get { return GetElement(elementId_extraAxis4); } } /// /// The "Button 1" element. /// /// Returns the "Button 1" element. IControllerTemplateButton ISixDofControllerTemplate.button1 { get { return GetElement(elementId_button1); } } /// /// The "Button 2" element. /// /// Returns the "Button 2" element. IControllerTemplateButton ISixDofControllerTemplate.button2 { get { return GetElement(elementId_button2); } } /// /// The "Button 3" element. /// /// Returns the "Button 3" element. IControllerTemplateButton ISixDofControllerTemplate.button3 { get { return GetElement(elementId_button3); } } /// /// The "Button 4" element. /// /// Returns the "Button 4" element. IControllerTemplateButton ISixDofControllerTemplate.button4 { get { return GetElement(elementId_button4); } } /// /// The "Button 5" element. /// /// Returns the "Button 5" element. IControllerTemplateButton ISixDofControllerTemplate.button5 { get { return GetElement(elementId_button5); } } /// /// The "Button 6" element. /// /// Returns the "Button 6" element. IControllerTemplateButton ISixDofControllerTemplate.button6 { get { return GetElement(elementId_button6); } } /// /// The "Button 7" element. /// /// Returns the "Button 7" element. IControllerTemplateButton ISixDofControllerTemplate.button7 { get { return GetElement(elementId_button7); } } /// /// The "Button 8" element. /// /// Returns the "Button 8" element. IControllerTemplateButton ISixDofControllerTemplate.button8 { get { return GetElement(elementId_button8); } } /// /// The "Button 9" element. /// /// Returns the "Button 9" element. IControllerTemplateButton ISixDofControllerTemplate.button9 { get { return GetElement(elementId_button9); } } /// /// The "Button 10" element. /// /// Returns the "Button 10" element. IControllerTemplateButton ISixDofControllerTemplate.button10 { get { return GetElement(elementId_button10); } } /// /// The "Button 11" element. /// /// Returns the "Button 11" element. IControllerTemplateButton ISixDofControllerTemplate.button11 { get { return GetElement(elementId_button11); } } /// /// The "Button 12" element. /// /// Returns the "Button 12" element. IControllerTemplateButton ISixDofControllerTemplate.button12 { get { return GetElement(elementId_button12); } } /// /// The "Button 13" element. /// /// Returns the "Button 13" element. IControllerTemplateButton ISixDofControllerTemplate.button13 { get { return GetElement(elementId_button13); } } /// /// The "Button 14" element. /// /// Returns the "Button 14" element. IControllerTemplateButton ISixDofControllerTemplate.button14 { get { return GetElement(elementId_button14); } } /// /// The "Button 15" element. /// /// Returns the "Button 15" element. IControllerTemplateButton ISixDofControllerTemplate.button15 { get { return GetElement(elementId_button15); } } /// /// The "Button 16" element. /// /// Returns the "Button 16" element. IControllerTemplateButton ISixDofControllerTemplate.button16 { get { return GetElement(elementId_button16); } } /// /// The "Button 17" element. /// /// Returns the "Button 17" element. IControllerTemplateButton ISixDofControllerTemplate.button17 { get { return GetElement(elementId_button17); } } /// /// The "Button 18" element. /// /// Returns the "Button 18" element. IControllerTemplateButton ISixDofControllerTemplate.button18 { get { return GetElement(elementId_button18); } } /// /// The "Button 19" element. /// /// Returns the "Button 19" element. IControllerTemplateButton ISixDofControllerTemplate.button19 { get { return GetElement(elementId_button19); } } /// /// The "Button 20" element. /// /// Returns the "Button 20" element. IControllerTemplateButton ISixDofControllerTemplate.button20 { get { return GetElement(elementId_button20); } } /// /// The "Button 21" element. /// /// Returns the "Button 21" element. IControllerTemplateButton ISixDofControllerTemplate.button21 { get { return GetElement(elementId_button21); } } /// /// The "Button 22" element. /// /// Returns the "Button 22" element. IControllerTemplateButton ISixDofControllerTemplate.button22 { get { return GetElement(elementId_button22); } } /// /// The "Button 23" element. /// /// Returns the "Button 23" element. IControllerTemplateButton ISixDofControllerTemplate.button23 { get { return GetElement(elementId_button23); } } /// /// The "Button 24" element. /// /// Returns the "Button 24" element. IControllerTemplateButton ISixDofControllerTemplate.button24 { get { return GetElement(elementId_button24); } } /// /// The "Button 25" element. /// /// Returns the "Button 25" element. IControllerTemplateButton ISixDofControllerTemplate.button25 { get { return GetElement(elementId_button25); } } /// /// The "Button 26" element. /// /// Returns the "Button 26" element. IControllerTemplateButton ISixDofControllerTemplate.button26 { get { return GetElement(elementId_button26); } } /// /// The "Button 27" element. /// /// Returns the "Button 27" element. IControllerTemplateButton ISixDofControllerTemplate.button27 { get { return GetElement(elementId_button27); } } /// /// The "Button 28" element. /// /// Returns the "Button 28" element. IControllerTemplateButton ISixDofControllerTemplate.button28 { get { return GetElement(elementId_button28); } } /// /// The "Button 29" element. /// /// Returns the "Button 29" element. IControllerTemplateButton ISixDofControllerTemplate.button29 { get { return GetElement(elementId_button29); } } /// /// The "Button 30" element. /// /// Returns the "Button 30" element. IControllerTemplateButton ISixDofControllerTemplate.button30 { get { return GetElement(elementId_button30); } } /// /// The "Button 31" element. /// /// Returns the "Button 31" element. IControllerTemplateButton ISixDofControllerTemplate.button31 { get { return GetElement(elementId_button31); } } /// /// The "Button 32" element. /// /// Returns the "Button 32" element. IControllerTemplateButton ISixDofControllerTemplate.button32 { get { return GetElement(elementId_button32); } } /// /// The "Hat 1" element. /// /// Returns the "Hat 1" element. IControllerTemplateHat ISixDofControllerTemplate.hat1 { get { return GetElement(elementId_hat1); } } /// /// The "Hat 2" element. /// /// Returns the "Hat 2" element. IControllerTemplateHat ISixDofControllerTemplate.hat2 { get { return GetElement(elementId_hat2); } } /// /// The "Throttle 1" element. /// /// Returns the "Throttle 1" element. IControllerTemplateThrottle ISixDofControllerTemplate.throttle1 { get { return GetElement(elementId_throttle1); } } /// /// The "Throttle 2" element. /// /// Returns the "Throttle 2" element. IControllerTemplateThrottle ISixDofControllerTemplate.throttle2 { get { return GetElement(elementId_throttle2); } } /// /// The "Stick" element. /// /// Returns the "Stick" element. IControllerTemplateStick6D ISixDofControllerTemplate.stick { get { return GetElement(elementId_stick); } } #endregion /// /// Creates a new instance of this class. /// public SixDofControllerTemplate(object payload) : base(payload) { } } #endregion } #endif #region Internal namespace Rewired.Internal { using System; /// /// Factory class for creating Controller Templates. /// This is for internal use only. /// #if UNITY_EDITOR [System.ComponentModel.Browsable(false)] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] #endif public static partial class ControllerTemplateFactory { private static readonly Type[] _defaultTemplateTypes = new Type[] { typeof(GamepadTemplate), typeof(RacingWheelTemplate), typeof(HOTASTemplate), typeof(FlightYokeTemplate), typeof(FlightPedalsTemplate), typeof(SixDofControllerTemplate) }; private static readonly Type[] _defaultTemplateInterfaceTypes = new Type[] { typeof(IGamepadTemplate), typeof(IRacingWheelTemplate), typeof(IHOTASTemplate), typeof(IFlightYokeTemplate), typeof(IFlightPedalsTemplate), typeof(ISixDofControllerTemplate) }; /// /// Controller Template types. /// public static Type[] templateTypes { get { #if !REWIRED_USE_USER_DEFINED_CONTROLLER_TEMPLATES return _defaultTemplateTypes; #else return _userTemplateTypes; #endif } } /// /// Controller Template interface types. /// public static Type[] templateInterfaceTypes { get { #if !REWIRED_USE_USER_DEFINED_CONTROLLER_TEMPLATES return _defaultTemplateInterfaceTypes; #else return _userTemplateInterfaceTypes; #endif } } /// /// Creates a Controller Template instance. /// /// Type GUID of the Controller Template. /// Payload. public static IControllerTemplate Create(Guid typeGuid, object payload) { #if !REWIRED_USE_USER_DEFINED_CONTROLLER_TEMPLATES if(typeGuid == GamepadTemplate.typeGuid) return new GamepadTemplate(payload); if(typeGuid == RacingWheelTemplate.typeGuid) return new RacingWheelTemplate(payload); if(typeGuid == HOTASTemplate.typeGuid) return new HOTASTemplate(payload); if(typeGuid == FlightYokeTemplate.typeGuid) return new FlightYokeTemplate(payload); if(typeGuid == FlightPedalsTemplate.typeGuid) return new FlightPedalsTemplate(payload); if(typeGuid == SixDofControllerTemplate.typeGuid) return new SixDofControllerTemplate(payload); return null; #else return CreateUser(typeGuid, payload); #endif } } } #endregion