Example #1
0
        public void SaveBindings()
        {
            var container = new BindingsContainer();

            container.Mappings = MappingsDataBinding;
            container.Macros   = MacrosDataBinding;

            BindingsContainer.Serialize(GetBindingsFilePath(), container);
        }
Example #2
0
        public void SaveBindings()
        {
            var container = new BindingsContainer
            {
                Mappings            = MappingsDataBinding,
                Macros              = MacrosDataBinding,
                EnableMouseInput    = EnableMouseInput,
                MouseSensitivity    = MouseSensitivity,
                FrameRefresh        = FrameRefresh,
                Borders             = Borders,
                MouseMovementAnalog = MouseMovementAnalog,
                MouseInvertXAxis    = MouseInvertXAxis,
                MouseInvertYAxis    = MouseInvertYAxis,
                LeftMouseMapping    = LeftMouseMapping,
                RightMouseMapping   = RightMouseMapping,
                MiddleMouseMapping  = MiddleMouseMapping
            };


            BindingsContainer.Serialize(GetBindingsFilePath(), container);
        }
Example #3
0
        public void SaveBindings()
        {
            var container = new BindingsContainer
            {
                Mappings            = MappingsDataBinding,
                Macros              = MacrosDataBinding,
                EnableMouseInput    = EnableMouseInput,
                MouseSensitivity    = MouseSensitivity,
                MouseDecayRate      = MouseDecayRate,
                MouseDecayThreshold = MouseDecayThreshold,
                MouseAnalogDeadzone = MouseAnalogDeadzone,
                MouseMakeupSpeed    = MouseMakeupSpeed,
                MouseMovementAnalog = MouseMovementAnalog,
                MouseInvertXAxis    = MouseInvertXAxis,
                MouseInvertYAxis    = MouseInvertYAxis,
                LeftMouseMapping    = LeftMouseMapping,
                RightMouseMapping   = RightMouseMapping
            };


            BindingsContainer.Serialize(GetBindingsFilePath(), container);
        }