Ejemplo n.º 1
0
        public void Configure(SwitchConfig config)
        {
            var command = new SwitchActionCommand();

            config.Configure(command);
            _commander.Execute(command);
        }
Ejemplo n.º 2
0
 public void Configure(SwitchActionCommand command)
 {
     command.AsynchronousReportingEnabled = BoolToTriState(AsyncReporting);
     command.DoublePressAction            = DoublePress;
     command.SinglePressAction            = SinglePress;
     command.IsHapticFeedbackEnabled      = BoolToTriState(HapticFeedback);
     command.ResetParameters = true;
 }