YozY Posted October 17, 2006 Share Posted October 17, 2006 Hi i'm looking for a way to detect a joystick (in particular it's the Logitech RumblePad II USB) the idea is to run a game with preloaded settings so if the joystick isn't plugged in, it loads the keyboard settings but if the joystick is plugged in, it loads the joystick settings any way to check if a joystick is connected to the system? Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 17, 2006 Share Posted October 17, 2006 Hi, sorry for pointing that out, but I think having a script running all the time to check whether a joystick is plugged in and then start a game is not the best soultion. Is there any other point behind it? If not, I would start the script when needed after the pad has been plugged in. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
YozY Posted October 20, 2006 Author Share Posted October 20, 2006 Hi,sorry for pointing that out, but I think having a script running all the time to check whether a joystick is plugged in and then start a game is not the best soultion. Is there any other point behind it? If not, I would start the script when needed after the pad has been plugged in. So long,Megano no here's the thingthe script runs when you start the gameso when you want to play, you start the script to detect if a joystick is plugged in or not, and then it loads the keyboard or joystick settings and then it starts the game Link to comment Share on other sites More sharing options...
PaulIA Posted October 20, 2006 Share Posted October 20, 2006 Probably the best place to start is by reading the MSDN technical information on joysticks. There is an entire set of API calls for dealing with joysticks. Auto3Lib: A library of over 1200 functions for AutoIt 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