diff options
author | endolf <[email protected]> | 2003-12-02 19:10:06 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2003-12-02 19:10:06 +0000 |
commit | df5b55bf0fbcdde278a599ac93b1ebf24815eaaa (patch) | |
tree | c83a7b579cf7b8f7f8b0aeb07c9d718960106ce5 /plugins | |
parent | d40b524537b9230ab471671e0c3a60c51e6d18fe (diff) |
Added Z axis support for rumblers
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@66 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/DX8/src/native/input.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/DX8/src/native/input.cpp b/plugins/DX8/src/native/input.cpp index 20493f1..c4eb7af 100644 --- a/plugins/DX8/src/native/input.cpp +++ b/plugins/DX8/src/native/input.cpp @@ -669,6 +669,9 @@ BOOL CALLBACK EnumObjectsCallback(LPCDIDEVICEOBJECTINSTANCE lpddoi, } else if(lpddoi->guidType == GUID_YAxis) { //printf("effect is in the y axis\n"); rgdwAxes = DIJOFS_Y; + } else if(lpddoi->guidType == GUID_ZAxis) { + //printf("effect is in the z axis\n"); + rgdwAxes = DIJOFS_Z; } DICONSTANTFORCE cf = { DI_FFNOMINALMAX }; |