public string GetKeyPressForLoggingPurposes(MultiPanelKnob multiPanelKnob) { var result = ""; foreach (var knobBinding in _knobBindings) { if (knobBinding.OSKeyPress != null && knobBinding.MultiPanelPZ70Knob == multiPanelKnob.MultiPanelPZ70Knob && knobBinding.WhenTurnedOn == multiPanelKnob.IsOn) { result = knobBinding.OSKeyPress.GetNonFunctioningVirtualKeyCodesAsString(); } } return(result); }
private static bool FlagValue(byte[] currentValue, MultiPanelKnob multiPanelKnob) { return((currentValue[multiPanelKnob.Group] & multiPanelKnob.Mask) > 0); }
private void CreateMultiKnobs() { _multiPanelKnobs = MultiPanelKnob.GetMultiPanelKnobs(); }