Added Z axis support for rumblers

This commit is contained in:
endolf 2003-12-02 19:10:06 +00:00
parent d7efdf03a0
commit 9258d5763c

View file

@ -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 };