Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 04, 2016, 06:20:27 AM
  • Proudly celebrating 10 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 1615 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.)