diff options
author | endolf <[email protected]> | 2005-08-28 09:23:00 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2005-08-28 09:23:00 +0000 |
commit | 0653ff2a561234990d59ba9050f4873b1ac97c35 (patch) | |
tree | 39d143dad8edc23ad0cd32277f648ca4e639abd2 | |
parent | a945df2bc159d88a971b8ab991ac7ce1d98e7b34 (diff) |
More rumbler debug
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@114 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r-- | plugins/DX8/src/native/input.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/plugins/DX8/src/native/input.cpp b/plugins/DX8/src/native/input.cpp index 441b54e..c18b3e8 100644 --- a/plugins/DX8/src/native/input.cpp +++ b/plugins/DX8/src/native/input.cpp @@ -699,14 +699,28 @@ BOOL CALLBACK EnumObjectsCallback(LPCDIDEVICEOBJECTINSTANCE lpddoi, DWORD rgdwAxes; LONG rglDirection = 0; if(lpddoi->guidType == GUID_XAxis) { - //printf("effect is in the x axis\n"); + printf("effect is in the x axis\n"); rgdwAxes = DIJOFS_X; } else if(lpddoi->guidType == GUID_YAxis) { - //printf("effect is in the y axis\n"); + 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"); + printf("effect is in the z axis\n"); rgdwAxes = DIJOFS_Z; + } else if (lpddoi->guidType == GUID_RxAxis) { + printf("effect is in the rx axis\n"); + } else if (lpddoi->guidType == GUID_RyAxis) { + printf("effect is in the ry axis\n"); + } else if (lpddoi->guidType == GUID_RzAxis) { + printf("effect is in the rx axis\n"); + } else if (lpddoi->guidType == GUID_Slider) { + printf("effect is in the slider axis\n"); + } else if (lpddoi->guidType == GUID_Button) { + printf("effect is in the button axis\n"); + } else if (lpddoi->guidType == GUID_POV) { + printf("effect is in the pov axis\n"); + } else { + printf("effect is in an unknown axis\n"); } DICONSTANTFORCE cf = { DI_FFNOMINALMAX }; |