diff options
| author | a1xd <[email protected]> | 2020-08-01 21:08:47 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-01 21:08:47 -0400 |
| commit | 1d9fb1f9007cca7ffa69b408ab7945926bbce673 (patch) | |
| tree | ad50871f3067dbca729e3ecfe6307fc774004b4d /console/console.cpp | |
| parent | Merge pull request #7 from JacobPalecki/GUI (diff) | |
| parent | move clipp/parse logic into console project (diff) | |
| download | rawaccel-1d9fb1f9007cca7ffa69b408ab7945926bbce673.tar.xz rawaccel-1d9fb1f9007cca7ffa69b408ab7945926bbce673.zip | |
Merge pull request #8 from a1xd/read
Read ioctl
Diffstat (limited to 'console/console.cpp')
| -rw-r--r-- | console/console.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/console/console.cpp b/console/console.cpp index 549cb68..9a1d66f 100644 --- a/console/console.cpp +++ b/console/console.cpp @@ -1,14 +1,14 @@ #include <iostream> -#define NOMINMAX -#include <Windows.h> +#include <rawaccel-io.hpp> -#include <rawaccel-userspace.hpp> -#include "console_write.hpp" +#include "parse.hpp" + +namespace ra = rawaccel; int main(int argc, char** argv) { try { - write(ra::parse(argc, argv)); + ra::write(ra::parse(argc, argv)); } catch (std::domain_error e) { std::cerr << e.what() << '\n'; |