AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remapping Mouse Axis to Keyboard arrow moves

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
alexisfch



Joined: 09 Nov 2009
Posts: 61

PostPosted: Fri Nov 20, 2009 2:36 am    Post subject: Remapping Mouse Axis to Keyboard arrow moves Reply with quote

Is there any way to use mouse axis movements (up,down,left,right) as keyboard moves (arrows-> up,down,left,right) I mean remap the mouse moves as keyboard moves, for example, if I move my mouse to up for 3 seconds, I'll keep pressed arrow up, for these 3 seconds too.

Thanks!


Last edited by alexisfch on Fri Nov 20, 2009 2:56 am; edited 1 time in total
Back to top
View user's profile Send private message
i3egohan



Joined: 18 Jul 2006
Posts: 401

PostPosted: Fri Nov 20, 2009 2:55 am    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?t=25892&highlight=mouse+gestures

See the above
Back to top
View user's profile Send private message
alexisfch



Joined: 09 Nov 2009
Posts: 61

PostPosted: Fri Nov 20, 2009 3:11 am    Post subject: Reply with quote

I tried with "gestures" but it's not precisely what I'm talking about men.
Back to top
View user's profile Send private message
i3egohan



Joined: 18 Jul 2006
Posts: 401

PostPosted: Fri Nov 20, 2009 3:20 am    Post subject: Reply with quote

There isnt no 'easy' way. You would have to constantly read the mouse cords using something like MouseGetPos and then compare the new cordinates with the old ones.. if there higher or lower send the appropirote keys
Back to top
View user's profile Send private message
alexisfch



Joined: 09 Nov 2009
Posts: 61

PostPosted: Fri Nov 20, 2009 1:34 pm    Post subject: Reply with quote

oh, it's really complicated, can someone give me a hand? Shocked Shocked
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 7698
Location: Germany (but I only speak English)

PostPosted: Fri Nov 20, 2009 3:38 pm    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?t=32251 appears to have a solution
_________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
Back to top
View user's profile Send private message Visit poster's website
alexisfch



Joined: 09 Nov 2009
Posts: 61

PostPosted: Sat Nov 21, 2009 12:52 am    Post subject: Reply with quote

Im runninag that script, but it doens't remap mouse movements to arrow keys. Shocked
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group