zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.08k stars 221 forks source link

BUG: Surface pen hardware eraser support #1335

Open ascaletty opened 1 year ago

ascaletty commented 1 year ago

Your environment SYSTEM INFO: Obsidian version: v1.4.13 Installer version: v1.4.11 Operating system: #1 SMP PREEMPT_DYNAMIC Fri Aug 25 22:33:48 UTC 2023 6.4.12-surface Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Legacy editor: off Base theme: dark Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 1 Plugins enabled: 1 1: Excalidraw v1.9.19

Describe the bugS Surface Pen hardware simply does not work, even with the hardware eraser script.

To Reproduce Steps to reproduce the behavior: Any time using surface eraser, flipping the pen around does not switch the pen to eraser.

traptw1thin commented 1 year ago

Did you run the script after installing it? It didn't work for me until I ran the script:

ascaletty commented 1 year ago

Yes I did run and restart obsidian, still no luck. My eraser works perfect on xournal, but no luck on obsidian.

Jacksery commented 9 months ago

I'm having this issue on Linux using the linux-surface kernel so might be that it translates the eraser end of the pen in a way the plugin doesn't support? As @ascaletty said xournal++ works fine for me with no further setup.