mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-02 14:59:57 +01:00
More rumbler debug
This commit is contained in:
parent
def8e4976b
commit
c15d74238d
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue