MadSc13ntist Posted February 23, 2005 Share Posted February 23, 2005 (edited) I recently purchased a NYKO Air-Flo usb game controller and was configuring it to work with my emulators when it hit me. Is it possible to use the game controller to manipulate mouse functions or create a daemon that waits for commands from the key presses and rotation of the joysticks? This would be an interesting Proof-Of-Concept script and it would be great if i could make an auto-play script for certain games, just for the fun of it.... scripting mario-bot's... :"> Or better still, a person could use their controller as a remote control for their box... (wired, but hey, it's better than nothing and lots of people already have what they would need to set it up... minus the script of course...) Just a thought, i'm always looking for new ways to use our beloved AutoIt... Thanks again folks! Edited February 23, 2005 by MadSc13ntist Link to comment Share on other sites More sharing options...
Andre Posted February 23, 2005 Share Posted February 23, 2005 Hi, directly with AutoIt is not possible, but perhaps someone is willing to write an DLL with the functions in it ? Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
MadSc13ntist Posted February 23, 2005 Author Share Posted February 23, 2005 as i understand (quite possibly flawed) Once the game pad has been installed (factory software) it maps the keys from the game-pad to funky values i.e. JSK_Pad1, JSK_Pad2, JSK_Y+, JSK_Y-, JSK_X+, JSK_X-, etc.... Is there a way to hook these key presses? do they represent a registry value? I guess what i would like to know from this point is how autoit knows a key has been pressed and where/how it pulls that info to react from? at this stage in the game i would be happy with a way to know that one of the keys from the pad has been pressed (forget the joysticks for now)... But i do understand that to do this THE RIGHT WAY i would most likely require som sort of dll/driver to hook and a medium to interpret it... Any ideas? Link to comment Share on other sites More sharing options...
this-is-me Posted February 23, 2005 Share Posted February 23, 2005 http://hp.vector.co.jp/authors/VA016823/jo...ey/english.html Who else would I be? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now