Sign in to follow this  
Followers 0
GodForsakenSoul

NES/SNES controller on autoit

2 posts in this topic

#1 ·  Posted (edited)

i have a spare computer and i would like to turn it into a huge NES/ZSNES type thing. hook it up to a tv and play games via the emulator.

however, i don't want to use the keyboard to select the games. what i want is to use the SNES controller to select the games via a gui that i'll build for that purpose.

however, i have never messed with SNES controllers before, so i don't know how it input the data to the computer and what data to expect.

i tried the help file, and the closest thing i can think of is HotKeySet.

however, for HKS, i need to actually know what to expect. in this case, i don't.

is there a way to record every key (?) stroke and display it in a message box. (yes, that sounds like i'm going for a keylogger. i honestly don't. i would use a much more retarded method for a keylogger which i know works)

of course, i got the message box part... the part which i seriously can't figure out the getting the keystrokes part.

i searched through the obvious parts of the help file, at least the one i got with the autoit/scite install.

i need a nudge in the right direction. a punt even. a hard one because i have literally no idea where to look at.

Edited by GodForsakenSoul

Share this post


Link to post
Share on other sites



It somewhat depends how the controller is implemented... assuming it's used like a JoyStick, you can try some of these posts:

http://www.autoitscript.com/forum/index.php?showtopic=116958

http://www.autoitscript.com/forum/index.php?showtopic=23882

http://www.autoitscript.com/forum/index.php?showtopic=94834

or a bit more low-level:

http://www.autoitscript.com/forum/index.php?showtopic=95105

It may simply be a keyboard-like device though, emulating key strokes based on button presses...

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