I am currently working on an app that will require a touchscreen drawing component to get hand-drawn images from. I've got some basic code running to draw a pixel on screen wherever the screen is touched, however, if you move the stylus too fast, it gives a bunch of disconnected points instead of a smooth line.
It seems like it's only refreshing the touch position every frame, but it seems like it needs to be faster.
I know smooth input is possible because official things like Flipnote and some homebrew titles seem to be able to do it. I'm just not sure what thing I need to change.
I've tried reading the touch position many times during each loop and adding it to a buffer, but I get the same result.
I've attached some sample code, and a screenshot of what I mean.
It seems like it's only refreshing the touch position every frame, but it seems like it needs to be faster.
I know smooth input is possible because official things like Flipnote and some homebrew titles seem to be able to do it. I'm just not sure what thing I need to change.
I've tried reading the touch position many times during each loop and adding it to a buffer, but I get the same result.
I've attached some sample code, and a screenshot of what I mean.