which through a lil bit of modification, i will transform into, a wired controller, whose outputs(viz. forward,reverse, left,right) i'll be assigning as inputs to my arduino.
Are you removing the pots around the joystick and just having switches (digital) or are you leaving the pots (analog)? Which you do makes a big difference.
now i dont really know where to put these inputs(analog or digital) and how to modify my program, or make a new program to accommodate these functions.
I could suggest that you need to change lines 68 to 144, but, really, without seeing your code, I'd just be blowing smoke.
i'm using differential steering
and the functions described above (front, reverse etc) must me mandatorily present in my program. i want digital high or low to be triggered accordingly by analyzing my controller input
Sounds like a homework assignment, to me, and that you missed the point. The joystick (analog) values should control more than the direction and on/off nature of the motors. They should control the direction and speed.