Optical Image Stabilization

Hi everyone, I have a little awkward question here but I am sure someone who knows a little bit more about electronics can give me good advice. I took apart the lens from a consumer video camera and took out the Optical Image Stabilization module in an effort to figure out how it works and possibly hijack the signal so I can control the movement. In the camera this module is getting the signal from the accelerometer so it knows how to engage the two electromagnets and counteract the movement (shaking). What I have done is take the leads that go into it and try to fake what gyro sends to this element. So far I have noticed that when I short 1 and 2 or 3 and 4 the element goes to one side or up. So I put a potentiometer on it (2K ohm) and it gives me some control by turning the dial, but not good enough. Has anyone any idea how can I achieve a gradual movement of this lens element vertically and sideways with a slider or dial of some sort? Your help would be greatly appreciated!

Picture of Optical Image Stabilization