diff options
| author | a1xd <[email protected]> | 2021-01-05 18:05:48 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-01-05 18:05:48 -0500 |
| commit | 6969310edd56edb555dd98acbc1478caa5728593 (patch) | |
| tree | 52915ea646db380cad119c17c484660b38ff8724 /wrapper | |
| parent | Update driver/driver.h (diff) | |
| download | rawaccel-6969310edd56edb555dd98acbc1478caa5728593.tar.xz rawaccel-6969310edd56edb555dd98acbc1478caa5728593.zip | |
size device id/hwids based on docs
this also changes the connect ioctl to not abort when hwid query fails
Diffstat (limited to 'wrapper')
| -rw-r--r-- | wrapper/wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp index 7ac3a8d..7e3f736 100644 --- a/wrapper/wrapper.cpp +++ b/wrapper/wrapper.cpp @@ -79,7 +79,7 @@ public ref struct DriverSettings double minimumTime; [JsonProperty("Device Hardware ID", Required = Required::Default)] - [MarshalAs(UnmanagedType::ByValTStr, SizeConst = 512)] + [MarshalAs(UnmanagedType::ByValTStr, SizeConst = MAX_HWID_LEN)] String^ deviceHardwareID; bool ShouldSerializeminimumTime() |