topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 2:45 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Keyboard navigation buttons to mimic the action of drag or swipe  (Read 3407 times)

siddhu.iam

  • Participant
  • Joined in 2012
  • *
  • Posts: 11
    • View Profile
    • Donate to Member
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.)