-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added remaining Events Sent to ConfigurationManager (#64)
* Refactored to an Proxy interface to address #47 * Added remaining EventsSent to ConfigurationManager
- Loading branch information
1 parent
e12bc80
commit 1797978
Showing
10 changed files
with
193 additions
and
43 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,9 @@ | |
<RuntimeIdentifiers Condition="'$(Configuration)'=='Release' ">win-x64;osx-x64</RuntimeIdentifiers> <!-- At this time, the only platforms we are really targetting, and supported by the Stream Deck SDK are Windows and macOS --> | ||
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Remove="Fritz.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\StreamDeckLib\StreamDeckLib.csproj" /> | ||
|
@@ -36,6 +39,9 @@ | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="[email protected]" /> | ||
<Content Include="Fritz.png"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="manifest.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace StreamDeckLib.Messages | ||
{ | ||
public class SendToPropertyInspectorArgs : BaseStreamDeckArgs | ||
{ | ||
|
||
public override string Event => "sendToPropertyInspector"; | ||
|
||
public string action { get; set; } | ||
|
||
public dynamic payload { get; set; } | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Newtonsoft.Json; | ||
using static StreamDeckLib.Messages.SetTitleArgs; | ||
|
||
namespace StreamDeckLib.Messages | ||
{ | ||
public class SetImageArgs : BaseStreamDeckArgs | ||
{ | ||
public override string Event { get => "setImage"; } | ||
|
||
public Payload payload { get; set; } | ||
public class Payload | ||
{ | ||
|
||
public string image { get; set; } | ||
|
||
public int target { get { return (int)TargetType; } } | ||
|
||
[JsonIgnore] | ||
public TargetType TargetType { get; set; } | ||
|
||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
namespace StreamDeckLib.Messages | ||
{ | ||
public class SetSettingsArgs : BaseStreamDeckArgs | ||
{ | ||
public override string Event => "setSettings"; | ||
public dynamic payload { get; set; } | ||
} | ||
public class SetSettingsArgs : BaseStreamDeckArgs | ||
{ | ||
public override string Event => "setSettings"; | ||
public dynamic payload { get; set; } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace StreamDeckLib.Messages | ||
{ | ||
public class SetStateArgs : BaseStreamDeckArgs | ||
{ | ||
public override string Event => "setState"; | ||
public Payload payload { get; set; } | ||
public class Payload | ||
{ | ||
public int state{ get; set; } | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace StreamDeckLib.Messages | ||
{ | ||
public class SwitchToProfileArgs : BaseStreamDeckArgs | ||
{ | ||
public override string Event => "switchToProfile"; | ||
|
||
public string device { get; set; } | ||
|
||
public Payload payload { get; set; } | ||
|
||
public class Payload | ||
{ | ||
public string profile { get; set; } | ||
} | ||
|
||
} | ||
} |