Sign in to follow this  
Followers 0
zoller

auto keypress on mouse move depending on direction in directx game

4 posts in this topic

Hi all,

What I am trying to accomplish is to have a script/program that automatically presses a key while I hold the space bar down + move mouse left or right.

While holding space bar down,

when I move the mouse right, I would like to have key1 held down,

when I move the mouse left, I would like to have key2 held down.

If anybody knows if AutoIt is the program I am looking for, any advice to start me on this mini project would be very much appreciated.

P.S. I want to run this function in the background and have it work inside a DirectX game.

Thank you.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Link http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/

Before reading, I suggest you edit the topic and the topic title. After that read the link and all will become clear.

Edited by czardas

Share this post


Link to post
Share on other sites

Well, I should have read that before posting.

Thanks for that link, unfortunately I can't edit my original post.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0