r/ObsidianMD • • 19d ago

help Need Help with a Simple Plugin!

I recently got the XP-Pen Magic Note Pad, and I want to bring the feature of the holding down the pen's side button to enter eraser mode, and release to go back into drawing mode into Excalidraw. I tried to vibe code the function using Gemini, but it only got part of the way there.

Here is the plugin.

Here is also the AI chat log.

I'm also willing to pay between $10-20 to anyone who is willing to either fix this code, or make a new one from scratch.

1 Upvotes

Duplicates