summaryrefslogtreecommitdiff
path: root/driver/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/driver.h')
-rw-r--r--driver/driver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/driver.h b/driver/driver.h
index 2a400de..8554f8c 100644
--- a/driver/driver.h
+++ b/driver/driver.h
@@ -15,8 +15,10 @@
#define NTDEVICE_NAME L"\\Device\\rawaccel"
#define SYMBOLIC_NAME_STRING L"\\DosDevices\\rawaccel"
+using counter_t = long long;
+
typedef struct _DEVICE_EXTENSION {
- LARGE_INTEGER counter;
+ counter_t counter;
vec2d carry;
CONNECT_DATA UpperConnectData;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;