-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Snoothy/develop
Merge develop for v0.3.0 release
- Loading branch information
Showing
154 changed files
with
3,982 additions
and
2,281 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
build/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
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,3 @@ | ||
[submodule "submodules/IOWrapper"] | ||
path = submodules/IOWrapper | ||
url = https://github.com/evilC/IOWrapper.git |
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,24 @@ | ||
using System; | ||
|
||
namespace HidWizards.UCR.Core.Attributes | ||
{ | ||
public class PluginAttribute : Attribute | ||
{ | ||
private string name; | ||
private bool disabled; | ||
|
||
public PluginAttribute(string name) | ||
{ | ||
this.name = name; | ||
disabled = false; | ||
} | ||
|
||
public virtual string Name => name; | ||
|
||
public virtual bool Disabled | ||
{ | ||
get => disabled; | ||
set => disabled = value; | ||
} | ||
} | ||
} |
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,33 @@ | ||
using System; | ||
|
||
namespace HidWizards.UCR.Core.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Property)] | ||
public class PluginGuiAttribute : Attribute | ||
{ | ||
private string name; | ||
private int rowOrder; | ||
private int columnOrder; | ||
|
||
public PluginGuiAttribute(string name) | ||
{ | ||
this.name = name; | ||
rowOrder = 0; | ||
columnOrder = 0; | ||
} | ||
|
||
public virtual string Name => name; | ||
|
||
public virtual int RowOrder | ||
{ | ||
get => rowOrder; | ||
set => rowOrder = value; | ||
} | ||
|
||
public virtual int ColumnOrder | ||
{ | ||
get => columnOrder; | ||
set => columnOrder = value; | ||
} | ||
} | ||
} |
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,12 @@ | ||
using HidWizards.UCR.Core.Models; | ||
using HidWizards.UCR.Core.Models.Binding; | ||
|
||
namespace HidWizards.UCR.Core.Attributes | ||
{ | ||
public class PluginInput : PluginIoAttribute | ||
{ | ||
public PluginInput(DeviceBindingCategory deviceBindingCategory, string name) : base(DeviceIoType.Input, deviceBindingCategory, name) | ||
{ | ||
} | ||
} | ||
} |
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,27 @@ | ||
using System; | ||
using HidWizards.UCR.Core.Models; | ||
using HidWizards.UCR.Core.Models.Binding; | ||
|
||
namespace HidWizards.UCR.Core.Attributes | ||
{ | ||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] | ||
public class PluginIoAttribute : Attribute | ||
{ | ||
private DeviceIoType deviceIoType; | ||
private DeviceBindingCategory deviceBindingCategory; | ||
private string name; | ||
|
||
public PluginIoAttribute(DeviceIoType deviceIoType, DeviceBindingCategory deviceBindingCategory, string name) | ||
{ | ||
this.deviceIoType = deviceIoType; | ||
this.deviceBindingCategory = deviceBindingCategory; | ||
this.name = name; | ||
} | ||
|
||
public virtual DeviceIoType DeviceIoType => deviceIoType; | ||
|
||
public virtual DeviceBindingCategory DeviceBindingCategory => deviceBindingCategory; | ||
|
||
public virtual string Name => name; | ||
} | ||
} |
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,12 @@ | ||
using HidWizards.UCR.Core.Models; | ||
using HidWizards.UCR.Core.Models.Binding; | ||
|
||
namespace HidWizards.UCR.Core.Attributes | ||
{ | ||
public class PluginOutput : PluginIoAttribute | ||
{ | ||
public PluginOutput(DeviceBindingCategory deviceBindingCategory, string name) : base(DeviceIoType.Output, deviceBindingCategory, name) | ||
{ | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.