diff --git a/Amethyst.Plugins.Contract/Amethyst.Plugins.Contract.csproj b/Amethyst.Plugins.Contract/Amethyst.Plugins.Contract.csproj index 77b6713..ad6913d 100644 --- a/Amethyst.Plugins.Contract/Amethyst.Plugins.Contract.csproj +++ b/Amethyst.Plugins.Contract/Amethyst.Plugins.Contract.csproj @@ -1,37 +1,36 @@  - - net7.0 - enable - enable - True - Amethyst Device Plugin API (Contract) - - 0.3.25 - x64 - + + net7.0 + enable + enable + True + Amethyst Device Plugin API (Contract) + + 0.3.26-alpha + x64 + - - Amethyst.Plugins.Contract - 0.3.25 - K2VR - K2VR - Amethyst;K2VR;KinectToVR;VR;OpenVR;Fullbody Tracking - - This client class library lets you export your plugin library for Amethyst with MEF. - Compatible with C# (with XAML via WinUI/WinRT), C++/CLI, and custom WinRT projections. - Contains additional functions and helper classes to make plugin developmnet easier. - - ktvr.png - MIT - true - 10.0.19041.0 - AnyCPU - False - + + Amethyst.Plugins.Contract + K2VR + K2VR + Amethyst;K2VR;KinectToVR;VR;OpenVR;Fullbody Tracking + + This client class library lets you export your plugin library for Amethyst with MEF. + Compatible with C# (with XAML via WinUI/WinRT), C++/CLI, and custom WinRT projections. + Contains additional functions and helper classes to make plugin developmnet easier. + + ktvr.png + MIT + true + 10.0.19041.0 + AnyCPU + False + - - - + + + - + \ No newline at end of file diff --git a/Amethyst.Plugins.Contract/Classes.cs b/Amethyst.Plugins.Contract/Classes.cs index 3f9053b..69e40bf 100644 --- a/Amethyst.Plugins.Contract/Classes.cs +++ b/Amethyst.Plugins.Contract/Classes.cs @@ -281,6 +281,21 @@ public KeyInputAction() /// public IAmethystHost? Host { get; set; } + /// + /// Action description for binding UI + /// + public string Description { get; set; } = string.Empty; + + /// + /// Action image for binding UI to be shown in info + /// MUST BE OF TYPE Microsoft.UI.Xaml.Controls.Image + /// + /// + /// Make this a getter and return an Image constructed + /// during OnLoad, expect COM-related crashes otherwise + /// + public object? Image { get; set; } = null; + /// /// Invoke the action (shortcut) ///