No touch events while button is pressed

We’re integrating the S Pen SDK in our app and we would like to duplicate the system behavior where drawing while the button is pressed will erase but while the button is pressed I am not getting any motion events in my view.

In fact as soon as the pen touches the screen I get an UP event from the S Pen SDK with a DOWN event when the pen is lifted again. Is there anything I’m missing here.