Help in AD5252 to control 0-5V DC

Hi ,
I am using processing software to map an Xbox controller to variating the wiper. Has anyone tried to achieve this before?
I have the mapping ready but need to get through the Arduino. The purpose is to use a trigger for variating a wiper of potentiometer input.