I removed the pigameevs[] and replaced it with a simple flag. I don't believe storing the ID's is required here and because nothing was ever deleted, the pigameevs[] just kept increasing in size and eventually when evdev wraps around there will could be issues with duplicates.
I also found out the axes inversions were messing up the rel values so fixed those as well and they should be correct.
This will also handle things should a SYN_DROPPED message ever get received (they are currently not being handled by the current pitft_touchscreen class, but I've added support locally and hope to get it merged in.).
I removed the pigameevs[] and replaced it with a simple flag. I don't believe storing the ID's is required here and because nothing was ever deleted, the pigameevs[] just kept increasing in size and eventually when evdev wraps around there will could be issues with duplicates.
I also found out the axes inversions were messing up the rel values so fixed those as well and they should be correct.
This will also handle things should a SYN_DROPPED message ever get received (they are currently not being handled by the current pitft_touchscreen class, but I've added support locally and hope to get it merged in.).