zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.14k stars 229 forks source link

[Feature Request] Double tap Apple pencil to switch between drawing and erasing #562

Open Jeyenkc opened 2 years ago

Jeyenkc commented 2 years ago

iOS and iPad specific request.

The Apple pencil comes has a built in shortcut into it that allows it to perform a function. It is almost always bound to toggling between drawing/writing and erasing. This plugin currently does not support this feature, but it's a huge QoL feature that I cannot do without anymore.

Using an Apple tablet and Apple pencil, I want to be able to switch between drawing and erasing when I double tap the pencil. On apps like Notability, double tapping the pencil toggles between the eraser and the currently selected tool.

It would be great to have this feature! Love this plugin. Great work!

zsviczian commented 2 years ago

I agree this would be very nice... but it is unlikely to happen. Unfortunately, there are many different styluses and there isn't a standard for how their buttons are registered. I've looked into this a bit a few weeks ago, but there wasn't an obvious solution available for recognizing the mouse tap in a web app (which obsidian and excalidraw technically is). I am sorry.

I will keep searching for a viable solution, but with limited hope.