How to add joystick in visual basic 2008
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
hello all, I have browsed the web for tutorial to help me add joystick funktions to an application but no luck :(
The program will controle one or more serial relayboards.. well it can already do that but, only by pressing a button and i want the relays to be controled by the joystick.
something like..
Define Xaxis - 0 to 255
If JoyAxis X is >150 then relay1
If JoyAxis X is <100 then relay2
and so on...
Later on I want the joystick to control direction and speed of a DC motor/Analog output on the relay board
Im useing a Logitech USB game pad
Any help will be much appriciated
The program will controle one or more serial relayboards.. well it can already do that but, only by pressing a button and i want the relays to be controled by the joystick.
something like..
Define Xaxis - 0 to 255
If JoyAxis X is >150 then relay1
If JoyAxis X is <100 then relay2
and so on...
Later on I want the joystick to control direction and speed of a DC motor/Analog output on the relay board
Im useing a Logitech USB game pad
Any help will be much appriciated
This? http://www.vbdotnetheaven.com/UploadFil ... ickVB.aspx
Type into the Google search bar 'vb.net joystick' it is a suggestion you're bound to find something
Type into the Google search bar 'vb.net joystick' it is a suggestion you're bound to find something

No thats not it.. its a viritual joystick controled by the mouse.
I have been googleing all day now.. the closest i got to it is a small sample in DirectX SDK 2009 (See attatchment)
This is what i want in my program and then depending on the values it control funktions in my program witch today is controled by bottons.
The source code for the program are also in DirectX SDK 2009 but I can´t open it in Visual Basic 2008 Express !
I have been googleing all day now.. the closest i got to it is a small sample in DirectX SDK 2009 (See attatchment)
This is what i want in my program and then depending on the values it control funktions in my program witch today is controled by bottons.
The source code for the program are also in DirectX SDK 2009 but I can´t open it in Visual Basic 2008 Express !
You do not have the required permissions to view the files attached to this post.
Wired.. works fine here.. also the download.. anyway here is a picture of it
You do not have the required permissions to view the files attached to this post.
Here is the source code for C++
I was wondering if it´s possible to convert it to use for Visual Basic 2008 Express
Thx in advance
I was wondering if it´s possible to convert it to use for Visual Basic 2008 Express
Thx in advance
You do not have the required permissions to view the files attached to this post.
I would but i dont want to get c :P Though i should
Hello,
This one is for VB but im unable to test it because I dont have a joystick :?
Download: Hope it works cooll;
This one is for VB but im unable to test it because I dont have a joystick :?
Download: Hope it works cooll;
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023