diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-13 12:13:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-13 12:13:25 +0200 |
commit | 6c7e9930aaf50d69472113791bcf6d69ef556ce1 (patch) | |
tree | 48af4a233fa80d0fea1759f59b3d188821113d72 /ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | |
parent | 98e05692a5bf3a9fabc6b08c121afbe36efe030c (diff) |
fix braino
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp')
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp index 2d65f273..bf596f51 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp @@ -54,8 +54,8 @@ static BOOL CALLBACK EnumObjectsCallback( const DIDEVICEOBJECTINSTANCE* pdidoi, diprg.diph.dwHeaderSize = sizeof( DIPROPHEADER ); diprg.diph.dwHow = DIPH_BYID; diprg.diph.dwObj = pdidoi->dwType; - diprg.lMax = 65535; - diprg.lMin = -65536; + diprg.lMax = AXIS_MAX; + diprg.lMin = -AXIS_MAX; // Set the range for the axis |