ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Keyboard navigation buttons to mimic the action of drag or swipe

(1/1)

siddhu.iam:
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 left mouse button, then move mouse pointer about 2 centimeters to left, then release left mouse button.)

if input is      ( 'up' key ),
output is      ( move pinter to centre of screen , then hold left mouse button, then move mouse pointer about 2 centimeters upwards, then release left mouse button.)

if input is      ( 'right' key ),
output is      ( move pinter to centre of screen , then hold left mouse button, then move mouse pointer about 2 centimeters to right, then release left mouse button.)

if input is    ( 'down' key ),
output is   ( move pinter to centre of screen , then hold left mouse button, then move mouse pointer about 2 centimeters downwards, then release left mousebutton.)

Navigation

[0] Message Index

Go to full version