Macro works with mouse but not with Xencelabs pen

I'm trying to construct some simple macros for Davinci Resolve. They have three steps.

  1. Right click at current cursor point.
  2. Move a certain number of pixels upward from that point.
  3. Left click.

This macro would open a contextual menu in the color page and then click on one of the selections in it. E.g., a macro could open a contextual menu and from that menu choose wipe between the selected clip and the clip the cursor is currently over.

Here's the problem. If, using the mouse, I place the cursor in a spot and run the macro from a streamdeck, the macro works. If, however, I use a Xencelabs pen, the macro doesn't work.

Here's a concrete example: using a mouse, running one macro will create a wipe between the selected clip and the clip the cursor is currently over. But with the Xencelabs pen, running the same macro will open the contextual menu but then the second clip just becomes the selected clip.

Any thoughts?

The macro will depend on the position of the mouse pointer on the screen. So my guess would be that whatever the pen isdoing, it is not moving the mouse pointer on the screen.

Thanks Peter. The macro is very simple: 1. Right-click at current mouse position. 2. Just move X number of pixels. 3. Click. I’ve tried with various pauses. I wondered if the pen was moving too much or at a bad angle, annd was somehow confusing the macro, and so I tried simply leaving the pen on the tablet but got the same problem.