Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

ADC Conversion -> XP Joystick via serial or USB?

ADC Conversion -> XP Joystick via serial or USB?

2004-01-08 by Stuart Whelan - Simulation Hardware LTD

Hi Folks,

I have nice little ADC system made up using my AVR's, and its working
well. :)

I now want to take the next step have feed that data in as joystick axis
info.

Has anyone seen any sample code (Visual C, BCB, raw C++ or VB) that
shows how to make a joystick driver?

I have to admit to not being able to make head or tail of the XP DDK
stuff.

Any help, advice or points would be appreciated!

Cheers,
Stuart Whelan
Simulation Hardware LTD

Re: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?

2004-01-08 by George Smith

On 8 Jan 2004, at 22:45, Stuart Whelan - Simulation Ha wrote:

> I now want to take the next step have feed that data in as joystick axis
> info.
> 
> Has anyone seen any sample code (Visual C, BCB, raw C++ or VB) that
> shows how to make a joystick driver?

In DOS 6.2 the free QBASIC has a STICK(n%) function to return the x/y 
coordinates of joystick A and B.
It also exists in VBDOS but no sign of it in VB3 onwards...





George Smith

RE: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?

2004-01-08 by Stuart Whelan - Simulation Hardware LTD

Thanks for the reply George!

I forgot to include one vital piece of information... I am working in
Windows XP....

Cheers,
Stuart Whelan
Technical Lead
Simulation Hardware LTD

DDI:      +64  3 3778866
Mobile:   +64 27 2828074


> -----Original Message-----
> From: George Smith [mailto:buggies@blueyonder.co.uk] 
> Sent: Friday, 9 January 2004 8:36 a.m.
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] ADC Conversion -> XP Joystick via 
> serial or USB?
> 
> 
> On 8 Jan 2004, at 22:45, Stuart Whelan - Simulation Ha wrote:
> 
> > I now want to take the next step have feed that data in as joystick 
> > axis info.
> > 
> > Has anyone seen any sample code (Visual C, BCB, raw C++ or VB) that 
> > shows how to make a joystick driver?
> 
> In DOS 6.2 the free QBASIC has a STICK(n%) function to return the x/y 
> coordinates of joystick A and B.
> It also exists in VBDOS but no sign of it in VB3 onwards...
> 
> 
> 
> 
> 
> George Smith
> 
>  
> 
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:  
> http://groups.yahoo.com/group/AVR-Chat/
> 
> To unsubscribe from 
> this group, send an email to:  AVR-Chat-unsubscribe@yahoogroups.com
> 
> Your use of Yahoo! Groups is subject to:  
> http://docs.yahoo.com/info/terms/ 
> 
> 
> ---
> Incoming mail is 
> certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.559 / Virus Database: 351 - Release Date: 7/01/2004
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.559 / Virus Database: 351 - Release Date: 7/01/2004

RE: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?

2004-01-09 by Stuart Whelan - Simulation Hardware LTD

Hi Jeff, thanks for the reply!

Is that to get info from a joystick, or to create a joystick and feed
info into it?

Cheers,
Stuart Whelan
Technical Lead
Simulation Hardware LTD

DDI:      +64  3 3778866
Mobile:   +64 27 2828074
Show quoted textHide quoted text
-----Original Message-----
From: Jeff Grady [mailto:jlgrady@adelphia.net] 
Sent: Friday, 9 January 2004 4:34 p.m.
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?


You can use MS DirectX SDK. There is a VB.Net sample (could be done in
VB and possible eVB too) included in the SDK to use a joystick. I have
played with the sample.
 
Jeff
 



From: Stuart Whelan - Simulation Hardware LTD
[mailto:stuart@simhardware.co.nz] 
Sent: Thursday, January 08, 2004 4:46 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?
 
Hi Folks,

I have nice little ADC system made up using my AVR's, and its working
well. :)

I now want to take the next step have feed that data in as joystick axis
info.

Has anyone seen any sample code (Visual C, BCB, raw C++ or VB) that
shows how to make a joystick driver?

I have to admit to not being able to make head or tail of the XP DDK
stuff.

Any help, advice or points would be appreciated!

Cheers,
Stuart Whelan
Simulation Hardware LTD








Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
  
To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


Yahoo! Groups Sponsor
ADVERTISEMENT
 





Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
  
To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

RE: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?

2004-01-09 by Jeff Grady

You can use MS DirectX SDK. There is a VB.Net sample (could be done in VB
and possible eVB too) included in the SDK to use a joystick. I have played
with the sample.

 

Jeff

 

  _____  
Show quoted textHide quoted text
From: Stuart Whelan - Simulation Hardware LTD
[mailto:stuart@simhardware.co.nz] 
Sent: Thursday, January 08, 2004 4:46 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] ADC Conversion -> XP Joystick via serial or USB?

 

Hi Folks,

I have nice little ADC system made up using my AVR's, and its working
well. :)

I now want to take the next step have feed that data in as joystick axis
info.

Has anyone seen any sample code (Visual C, BCB, raw C++ or VB) that
shows how to make a joystick driver?

I have to admit to not being able to make head or tail of the XP DDK
stuff.

Any help, advice or points would be appreciated!

Cheers,
Stuart Whelan
Simulation Hardware LTD







Yahoo! Groups Sponsor



ADVERTISEMENT
 
<http://rd.yahoo.com/SIG=12cvbl11t/M=267637.4116730.5333196.1261774/D=egroup
web/S=1706554205:HM/EXP=1073641606/A=1853618/R=0/*http:/www.netflix.com/Defa
ult?mqso=60178338&partid=4116730> click here


 
<http://us.adserver.yahoo.com/l?M=267637.4116730.5333196.1261774/D=egroupmai
l/S=:HM/A=1853618/rand=451729850> 

 

  _____  

Yahoo! Groups Links

*	To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
  
*	To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
<mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  
*	Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.