aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/DX8/src/native/input.cpp20
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 };