mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-13 09:08:34 +00:00
Set version number for first release, fixed some comments
This commit is contained in:
parent
ced6c299b0
commit
08c9e3a4dd
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace CUE.NET.Devices.Headset
|
namespace CUE.NET.Devices.Headset
|
||||||
{
|
{
|
||||||
//TODO DarthAffe 18.09.2015: Implement
|
//TODO DarthAffe 20.09.2015: Find someone to test this
|
||||||
public class CorsairHeadset : AbstractCueDevice
|
public class CorsairHeadset : AbstractCueDevice
|
||||||
{
|
{
|
||||||
#region Properties & Fields
|
#region Properties & Fields
|
||||||
|
|||||||
@ -118,7 +118,6 @@ namespace CUE.NET.Devices.Keyboard
|
|||||||
_CorsairLedPosition ledPosition = Marshal.PtrToStructure<_CorsairLedPosition>(ptr);
|
_CorsairLedPosition ledPosition = Marshal.PtrToStructure<_CorsairLedPosition>(ptr);
|
||||||
CorsairLed led = GetLed((int)ledPosition.ledId);
|
CorsairLed led = GetLed((int)ledPosition.ledId);
|
||||||
_keys.Add(ledPosition.ledId, new CorsairKey(ledPosition.ledId, led,
|
_keys.Add(ledPosition.ledId, new CorsairKey(ledPosition.ledId, led,
|
||||||
//TODO DarthAffe 19.09.2015: Is something like RectangleD needed? I don't think so ...
|
|
||||||
new RectangleF((float)ledPosition.left, (float)ledPosition.top, (float)ledPosition.width, (float)ledPosition.height)));
|
new RectangleF((float)ledPosition.left, (float)ledPosition.top, (float)ledPosition.width, (float)ledPosition.height)));
|
||||||
|
|
||||||
ptr = new IntPtr(ptr.ToInt64() + structSize);
|
ptr = new IntPtr(ptr.ToInt64() + structSize);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace CUE.NET.Devices.Mouse
|
namespace CUE.NET.Devices.Mouse
|
||||||
{
|
{
|
||||||
//TODO DarthAffe 18.09.2015: Implement
|
//TODO DarthAffe 20.09.2015: Find someone to test this
|
||||||
public class CorsairMouse : AbstractCueDevice
|
public class CorsairMouse : AbstractCueDevice
|
||||||
{
|
{
|
||||||
#region Properties & Fields
|
#region Properties & Fields
|
||||||
|
|||||||
@ -35,7 +35,7 @@ namespace SimpleDevTest
|
|||||||
if (keyboard == null)
|
if (keyboard == null)
|
||||||
throw new WrapperException("No keyboard found");
|
throw new WrapperException("No keyboard found");
|
||||||
|
|
||||||
//Ink all numbers on the keypad except the '5' purple, we want that to be gray
|
// Ink all numbers on the keypad except the '5' purple, we want that to be gray
|
||||||
SimpleKeyGroup purpleGroup = new RectangleKeyGroup(keyboard, CorsairKeyboardKeyId.Keypad7, CorsairKeyboardKeyId.Keypad3)
|
SimpleKeyGroup purpleGroup = new RectangleKeyGroup(keyboard, CorsairKeyboardKeyId.Keypad7, CorsairKeyboardKeyId.Keypad3)
|
||||||
{ Color = Color.Purple }
|
{ Color = Color.Purple }
|
||||||
.Exclude(CorsairKeyboardKeyId.Keypad5);
|
.Exclude(CorsairKeyboardKeyId.Keypad5);
|
||||||
|
|||||||
@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
|
|||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("CUE.NET")]
|
[assembly: AssemblyTitle("CUE.NET")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("C# (.NET) Wrapper library around the Corsair CUE-SDK ")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("Wyrez")]
|
[assembly: AssemblyCompany("Wyrez")]
|
||||||
[assembly: AssemblyProduct("CUE.NET")]
|
[assembly: AssemblyProduct("CUE.NET")]
|
||||||
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("0.1.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("0.1.0")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user