Hi! Pretty cool project! As someone that uses drawing apps on tablets a lot, a quick two finger tap to undo and and a tree finger tap to redo is a must (IMO).
It's a very common feature nowadays in Procreate, Krita, Infinite Painter, etc. I don't know if it's possible to add it.