This is mainly to play touchscreen games like temple run or subway surfers on the big hd screens of computers using keyboard controls.
My rough algorithm is:
if input is ( 'left' key ),
output is (move pinter to centre of screen , then hold LeftMouseButton, then move mouse pointer about 2 centimeters to left, then release LeftMouseButton)
if input is ( 'up' key ),
output is (move pinter to centre of screen , then hold LeftMouseButton, then move mouse pointer about 2 centimeters upwards, then release LeftMouseButton)
if input is ( 'right' key ),
output is (move pinter to centre of screen , then hold LeftMouseButton, then move mouse pointer about 2 centimeters to right, then release LeftMouseButton)
if input is ( 'down' key ),
output is (move pinter to centre of screen , then hold LeftMouseButton, then move mouse pointer about 2 centimeters downwards, then release LeftMouseButton)