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 

Custom Modifier keys on Joystick?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Mike Stop Continues



Joined: 16 Mar 2010
Posts: 2

PostPosted: Tue Mar 16, 2010 11:33 pm    Post subject: Custom Modifier keys on Joystick? Reply with quote

Hi!

This is, I suppose, a multi-problem question. Basically, I want to turn a USB controller/joystick buttons into modifier keys like Control/Alt/Win/Shift and then I want my programs to recognize the keys so I can make my custom shortcuts in those programs.

I understand that I could make a AutoHotKey send a more complicated signal (such as Ctrl+Alt+Shift+F12) when I press a less complicated one (such as JoyUp+D), but I'd rather not do it that way, because then I have to code AHK for every combo-to-combo I like. I have need for more hotkeys in a number of different programs, so it's not easy to sync them all up that way.

I also understand that certain of these programs may or may not recognize the special modifiers. One program can't even recognize the Win key, so I imagine I'll be out of luck there. Nevertheless, I'm unsure as to whether ALL programs will be unable to recognize these additional modifiers.

Really, I just want to know if it's possible to make new modifiers and if so, how. I've searched the forums and documentation, but perhaps I simply have a case of the newbs.

Finally, if anyone can suggest an alternate way to create a similar effect, do let me know. I'm open to the possibility that I haven't even fathomed how much AHK can do.

Thanks.
Back to top
View user's profile Send private message
Leef_me



Joined: 08 Apr 2009
Posts: 5336
Location: San Diego, California

PostPosted: Thu Mar 18, 2010 7:43 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/Hotkeys.htm
http://www.autohotkey.com/docs/KeyList.htm

http://www.autohotkey.com/docs/scripts/JoystickTest.htm

http://www.autohotkey.com/docs/misc/RemapJoystick.htm

http://www.autohotkey.com/docs/scripts/JoystickMouse.htm
Back to top
View user's profile Send private message
Mike Stop Continues



Joined: 16 Mar 2010
Posts: 2

PostPosted: Fri Mar 19, 2010 1:01 pm    Post subject: Reply with quote

Thanks! Even though I read every one of those pages before asking, I did miss the section on reverse engineering mystery keys. If I can successfully create mystery modifiers (and use them), I'll be sure to post about it here. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
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