When set your screen orientation to portrait, using touch(Both master and slave) will resulted in x and y coordinate flipped. The cursor position is still correct though.
This is on Windows 7 x64.
This is on Windows 7 x64.