Hi Wim!
I tried and reproduced your wolf3d calibration problem. You need to press select button once and then do the calibration. That will work. Apparently you became victim of xevent.cmd builtin joystick axis swap function. In hindsight I think it is better to remove that function altogether. Will do so in the future. You could use TMScope Setup Utility (thank you for finding) to see what your gamepad delivers. See tms0.png for hardware setup, tms1.png for upper-left position, tms2.png for lower-right position.
Regards, Wim.
I'm glad Martin found TMScope - I actually remember the utility back many years past, as it was designed by Thrustmaster, as a calibration utility specifically for the stick I am using.
As you may have already read in my previous posts from Sunday past, I included my testing results on both Comanche 2 and Castle Wolfenstein 3D from a couple of days ago. I have now got TMScope working in both a VDM and in a DOSBOX session.
Interestingly I am seeing the same behaviors I observed in both programs running TMScope.
In the DOS VDM, after using TMScope to test a few of the controls, the joystick seems to lose focus - I can push a couple of buttons, or move the joystick, or activate the hat a few times and then none of the Joystick inputs function. Using reset TMS I was able to get the controls functioning again, once, but then had to use the mouse pointer to exit the program and reenter.
As to DOSBOX, I have got TMScope functioning and if I have a a look at the SET HARDWARE screen it reports a "Top Gun USB" joystick present, so it is seeing the joystick, but again I am unable to get DOSBOX to recognize any of the joystick inputs.
So I don't know if the focus problem in a DOS VDM is somehow related to xevents or not. I was also curious, Wim - are all the versions of xevents.cmd in each of the folders you provided the same, or is the game pad version different from the one provided for my joystick?
But I think using TMScope for first testing of device inputs is a good standardized way of first seeing if inputs are being recognized under a DOS VDM.
Best Sir as always!
M