summaryrefslogtreecommitdiff
path: root/driver/driver.h
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-01-05 18:05:48 -0500
committera1xd <[email protected]>2021-01-05 18:05:48 -0500
commit6969310edd56edb555dd98acbc1478caa5728593 (patch)
tree52915ea646db380cad119c17c484660b38ff8724 /driver/driver.h
parentUpdate driver/driver.h (diff)
downloadrawaccel-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 'driver/driver.h')
-rw-r--r--driver/driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/driver.h b/driver/driver.h
index ac42f4b..5b610fe 100644
--- a/driver/driver.h
+++ b/driver/driver.h
@@ -4,7 +4,7 @@
#include <kbdmou.h>
#include <wdf.h>
-#include "vec2.h"
+#include "rawaccel-settings.h"
#if DBG
#define DebugPrint(_x_) DbgPrint _x_
@@ -21,7 +21,7 @@ typedef struct _DEVICE_EXTENSION {
counter_t counter;
vec2d carry;
CONNECT_DATA UpperConnectData;
- WCHAR hwid[512];
+ WCHAR hwid[MAX_HWID_LEN];
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;
WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(DEVICE_EXTENSION, FilterGetData)