Also, the main purpose for the video is so you can see where you are about to draw. My tablet doesn’t have any hover or pressure, so I just have to guess where on the screen it is going to draw. If I had a visual that updated even once a second, that would be enough to glance down and see what I’m going to draw on and then look back up at the screen. to continue drawing. Not overly necessary, but very helpful.
Did I show you what I’ve built with it? It is here. Not very useful
for mouse control as it appeared, but it is still fun to play with it.
Yep the reserve for pressure makes sense, but the coordinates are also interpreted as having a max value of 32768, not 65536. This is because the server code interprets these values as signed shorts, not unsigned shorts, and uses SHRT_MAX as the maximum to normalize with, not USHRT_MAX.
Indeed, it should interpret the values as an unsigned short and normalize to USHRT_MAX/2.