private void Return <T>(T binding) where T : OpenTabletDriver.Plugin.IBinding
        {
            var str     = BindingTools.GetBindingString(binding);
            var bindRef = BindingReference.FromString(str);

            Return(bindRef);
        }
 static async Task SetTipBinding(string name, string property, float threshold)
 {
     await ModifySettings(s =>
     {
         s.TipButton             = BindingTools.GetBindingString(name, property);
         s.TipActivationPressure = threshold;
     });
 }
 private void Return <T>(T binding) where T : TabletDriverPlugin.IBinding
 {
     Return(BindingTools.GetBindingString(binding));
 }
 static async Task SetAuxBinding(string name, string property, int index)
 {
     await ModifySettings(s => s.AuxButtons[index] = BindingTools.GetBindingString(name, property));
 }