diff options
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r-- | dinput/dinput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp index 31de40e7..7a0e9cab 100644 --- a/dinput/dinput.cpp +++ b/dinput/dinput.cpp @@ -5,6 +5,7 @@ #include <cassert> #include <cstdlib> +#include <dinput.h> #include <QDebug> @@ -60,7 +61,7 @@ diptr di_t::init_di_() di_t::di_t() = default; -bool di_t::poll_device(LPDIRECTINPUTDEVICE8 dev) +bool di_t::poll_device(IDirectInputDevice8A* dev) { HRESULT hr; assert(handle); |