Pencil eraser function in excalidraw

I am trying to use the button on my asus pencil to assign it to the eraser tool.

I would like to use my Asus pencil to take handwritten notes on excalidraw. However it is bothersome to the workflow to manually switch to the eraser everytime I have to erase something. Is it possible to assign the button on the pencil to do this like it does on OneNote for example?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.