My issue was unfixable. mirror_x would not change the direction of the coordinates on the touchscreen, irrespective of whether or not mirror_x was true or false.
So in one specific orientation, I have to have one of the axis incrementing in the wrong direction. All other rotations are fine.
On another touchscreen device i have, mirror_x seems to work fine, so it seems to be CYD specific issue for me.