X-keys USB pedal - need help on macro to press and drag

I'm using an x-keys USB pedal which has three "buttons", and I just learned how to build a macro to make the left button click like a mouse. Does anybody know how I could build a macro to make it be able to press and drag? I'm new to Keyboard Maestro, would appreciate any suggestions - thanks