diff options
| author | Jacob Palecki <[email protected]> | 2020-07-28 02:44:09 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-07-28 02:44:09 -0700 |
| commit | b1ef35050600978318581586691f5a8f119abf5b (patch) | |
| tree | 1a096e8c6d5ceff50ca169fb2295118184d629f5 /console/console.cpp | |
| parent | Remove extra mode from variables (diff) | |
| download | rawaccel-b1ef35050600978318581586691f5a8f119abf5b.tar.xz rawaccel-b1ef35050600978318581586691f5a8f119abf5b.zip | |
Rename variables and add modify functions
Diffstat (limited to 'console/console.cpp')
| -rw-r--r-- | console/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console/console.cpp b/console/console.cpp index 6606cac..490051c 100644 --- a/console/console.cpp +++ b/console/console.cpp @@ -9,7 +9,7 @@ namespace ra = rawaccel; -void write(ra::variables vars) { +void write(ra::mouse_modifier vars) { HANDLE ra_handle = INVALID_HANDLE_VALUE; ra_handle = CreateFileW(L"\\\\.\\rawaccel", 0, 0, 0, OPEN_EXISTING, 0, 0); @@ -24,7 +24,7 @@ void write(ra::variables vars) { ra_handle, RA_WRITE, &vars, - sizeof(ra::variables), + sizeof(ra::mouse_modifier), NULL, // output buffer 0, // output buffer size &dummy, // bytes returned |