Exemple #1
0
        DeviceTuningParameter m_tuningY = null; // yaw

        #endregion Fields

        #region Constructors

        // ctor
        public Options( JoystickList jsList )
        {
            m_tuningP = new DeviceTuningParameter( );
              m_tuningY = new DeviceTuningParameter( );
              m_tuningR = new DeviceTuningParameter( );

              // create inverters (
              for (int i=0; i<(int)OptionsInvert.Inversions.I_LAST; i++) {
            OptionsInvert inv = new OptionsInvert((OptionsInvert.Inversions)i);
            m_inverter.Add(inv);
              }
        }
Exemple #2
0
        private List <CheckBox> m_invertCB = null;                     // Options owns and handles all Inversions

        // ctor
        public Options(JoystickList jsList)
        {
            m_tuningP = new DeviceTuningParameter( );
            m_tuningY = new DeviceTuningParameter( );
            m_tuningR = new DeviceTuningParameter( );

            // create inverters (
            for (int i = 0; i < (int)OptionsInvert.Inversions.I_LAST; i++)
            {
                OptionsInvert inv = new OptionsInvert((OptionsInvert.Inversions)i);
                m_inverter.Add(inv);
            }
        }