summaryrefslogtreecommitdiff
path: root/driver/driver.h
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-08-11 23:49:34 -0400
committerGitHub <[email protected]>2020-08-11 23:49:34 -0400
commit08759509371ada546c8d9bc4053b9450c4f58e8b (patch)
tree7ffc41237725e3ec0e9f53313644365912ded060 /driver/driver.h
parentMerge pull request #12 from JacobPalecki/GUI (diff)
parentdefine exceptions for invalid arg & io errors (diff)
downloadrawaccel-08759509371ada546c8d9bc4053b9450c4f58e8b.tar.xz
rawaccel-08759509371ada546c8d9bc4053b9450c4f58e8b.zip
Merge pull request #13 from a1xd/write-cd
write cooldown
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;