Ok we will look. What I don't understand is DInput worked before. I wonder if something changed Grifta-side in this retail units.
I think there is some confusion.
D-input and keyboard mode both work with XIM4. It's just that when you are in D-input mode, the trigger button is not functioning as a button press but rather as downwards Y-axis joystick movement (so you press the trigger and your character on screen just aims directly down at the ground). So D-input mode is working but it causes the trigger button to be pretty much useless.
This trigger button functions fine on keyboard mode. Only reason I would prefer using D-input mode over the keyboard mode is that the joystick in D-input mode is sensitive to how much you are pressing the joystick in a certain direction. In keyboard mode, pushing the joystick in any direction results in a full movement in that direction (just as it would pressing WASD keys on a keyboard) which makes using a analog joystick kind of useless.