diff options
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 |