PrBoom and Tyrquake control with 360 usb pad

Hi everybody,

I am unable to configure my USB xbox 360 controller with these 2 cores. My input driver is Dinput and my joypad driver is Xinput. When I start playing Doom and Quake with my config, the controls are doing strange things like moving and turning alone. If someone could help or share his remap file, thanks a lot