Holding a button to erase?

Right now I have e set to toggle erase mode with the currently selected brush. Is there some way to set it up such that there’s a key I can hold down to erase, and then let go and go back to non-erase?

Edit: never mind. Can I delete a question? I realized that that way of working wouldn’t be good and the currently available style is good after all.