lilypad plugin allows you to bind mouse movements to PS2 pad keys.
I guess you would have to bind your mouse movements to right analog and left click to x in your case.
or you could just buy a cheap ps2 to pc controller adapter. those are very cheap, and you could use your PS2 gamepad with your PC
Oh will and Ways here my set up for any one look to use it.
Pc ----------------------------Ps2
x-Axis + ----------------------R-Stick Left
x-Axis - ----------------------R-Stick Right
x-Axis + ----------------------R-Stick Up
x-Axis - ----------------------R-Stick Down
A-----------------------------Up
S-----------------------------Down
D-----------------------------Left
W----------------------------Right
Arrow keys-------------------as show on d-pad
LeftShift---------------------L1
LeftCtrl----------------------R1
E----------------------------Cross
F----------------------------Circle
R----------------------------Square
Q----------------------------Triangle
S---------------------------paceStart
C---------------------------[/align]Select
Any one looking for a better set up try this one better then my other one.
Ps2--------------Pc
R-Stick Left------X-Axis
R-Stick Right-----X-Axis
R-Stick Up--------X-Axis
R-Stick Down-----X-Axis
L-Stick Left-------A
L-Stick Right------D
L-Stick Up--------W
L-Stick Down------S
L1----------------Left Shift
L2----------------Left Ctrl
R1----------------Caps Lock
R2----------------~
Up D pad----------Y-Wheel +
Down D pad--------Y-Wheel -
Right D pad-------Mouse 4
Left D pad--------Mouse 5
Square------------Q
Triangle----------E
Cross-------------R Button
Circle------------L Button
Select------------C
Start-------------Space
i had my button config for FFXII like this, don't know if it's good but hey it's just a suggestion
PS2
R-Stick Left----------- J
R-Stick Right---------- L
R-Stick Up------------ I
R-Stick Down--------- K
L-Stick Left ---------- A
L-Stick Right--------- D
L-Stick Up----------- W
L-Stick Down-------- S
L1------------------- V
L2------------------- C
L3------------------- X
R1------------------ B
R2------------------ N
R3------------------ M
D pad--------------- PC D-pad
Square-------------- Numpad 4
Triangle-------------- Numpad 8
Cross---------------- Numpad 5
Circle---------------- Numpad 6
Select--------------- Numpad 7
Start---------------- Numpad 9