Added more actions for m3/m4, fixed scaling

This commit is contained in:
seerge
2023-03-05 18:23:38 +01:00
parent b40eb50e90
commit c8f4c4b0d4
11 changed files with 291 additions and 241 deletions

View File

@@ -1,8 +1,5 @@
// Source thanks to https://github.com/vddCore/Starlight :)
using System.ComponentModel;
using HidSharp;
namespace Starlight.Communication
{
public abstract class Packet
@@ -20,7 +17,7 @@ namespace Starlight.Communication
"Packet length must be at least 1."
);
}
Data = new byte[packetLength];
Data[0] = reportId;
@@ -33,7 +30,7 @@ namespace Starlight.Communication
"Your packet length does not allow for initial data to be appended."
);
}
AppendData(data);
}
}