Searching \ for '[PIC] USB Game Controller' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'USB Game Controller'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] USB Game Controller'
2009\02\02@212441 by threewheeler7

picon face

Hello, I was hoping someone could point me in the right direction on
something, I would like to make or use a code template for one of the USB
compatible PIC's that lets the PC read the pic as a HID game controller.
Just something i can send to the PC what state buttons are in.
--
View this message in context: www.nabble.com/USB-Game-Controller-tp21802810p21802810.html
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

2009\02\02@232253 by solarwind

picon face
On Mon, Feb 2, 2009 at 9:24 PM, threewheeler7 <spam_OUTthreewheeler7TakeThisOuTspamhotmail.com> wrote:
>
> Hello, I was hoping someone could point me in the right direction on
> something, I would like to make or use a code template for one of the USB
> compatible PIC's that lets the PC read the pic as a HID game controller.
> Just something i can send to the PC what state buttons are in.

http://en.wikipedia.org/wiki/Usb

Scroll down to "Device classes"

What you need is this

Code:                03h
Usage:                Interface
Description:        Human Interface Device (HID)
Example:                Keyboard, mouse, joystick

--
solarwind

2009\02\02@232330 by solarwind

picon face
So with some template code, I'm sure you can modify the device ID to 0x03


--
solarwind

2009\02\04@151049 by threewheeler7

picon face

Is there some sort of guide that is more Microchip compatible?

--
View this message in context: www.nabble.com/USB-Game-Controller-tp21802810p21838548.html
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

2009\02\04@161033 by olin piclist

face picon face
threewheeler7 wrote:
> Is there some sort of guide that is more Microchip compatible?

Are you trying to get the award for the most context free question?

********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2009\02\04@225533 by threewheeler7

picon face



Olin Lathrop wrote:
>
> Are you trying to get the award for the most context free question?
>

What are you talking about? I have a ton of projects that require using a
USB interface for the purpose of using as a game controller. It is a pretty
basic request I thought. All i wanted is something Microchip related on USB
HID and more specifically game controller/joystick. For example has anyone
done a simple PIC based USB game pad or joystick. I am not trying to be
vague, I want a broad view of the technology. Any help would be appreciated.

--
View this message in context: www.nabble.com/USB-Game-Controller-tp21802810p21844904.html
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

2009\02\05@001653 by Tony Vandiver

flavicon
face

> Any help would be appreciated.
>
>  

You could look at this demo board based on the PIC18 (DM163025) :

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en021940

I just took a class at one of the RTCs and this board is what the labs
were based on.  In the lab (and I'm pretty sure on the CD supplied with
the demo board) is a full HID based project comprised of a Visual C++
Express project for a bootstrap that could be adapted to read switches
fairly easily, and there's an HID project on the PIC peripheral side
that emulates a mouse by making your pointer turn in circles.  Are you
wanting this device to be recognized by some particular software?  If
so, does that software look for a particular VID/PID, or does it just
use any available HID peripheral?  With a Beagle, you can strip down the
protocol of some device you want to emulate and replicate its interface,
but I wouldn't suggest duplicating an existing VID/PID.

Thanks,

Tony

2009\02\05@070034 by olin piclist

face picon face
threewheeler7 wrote:
>> Are you trying to get the award for the most context free question?
>
> What are you talking about?

If you hadn't snipped the question I was replying to you'd see what I was
talking about.  Please learn how to properly trim and reply to email
messages.

Your question was "Is there some sort of guide that is more Microchip
compatible?".  Guide for what?  More Microchip compatible than what?  Duh.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2009\02\05@082103 by Alan B. Pearce

face picon face
>What are you talking about? I have a ton of projects that
>require using a USB interface for the purpose of using as
>a game controller. It is a pretty basic request I thought.
>All i wanted is something Microchip related on USB HID and
>more specifically game controller/joystick.

Well, the way your request comes across suggests you haven't done your
homework.

Have you looked at the Microchip web site?

Have you looked at the relevant application notes there?

After all, there are quite a few on USB HID, including gaming controllers.

Finally look through the forum (link on the front page of the website) USB
section, where others have also discussed gaming controllers.

It really is all on the manufacturers web site, but you haven't done your
bit of research first, and wonder why you got a curt response.

2009\02\05@103543 by William \Chops\ Westfield

face picon face

On Feb 5, 2009, at 4:02 AM, Olin Lathrop wrote:

> Your question was "Is there some sort of guide that is more Microchip
> compatible?".  Guide for what?

See the "Subject" line of the message...  "USB Game Controller."
With that info, it's clear enough even without any additional
context.  You might check for projects done with the "USB bit
Whacker"; I'd be surprised if no one has done a game-controller
using that hardware.  (but a quick search didn't find anything.)

I've always had mixed feelings about repeating the subject line
of an email message in the message body as well.  On the one hand,
it's redundant.  On the other hand, there are enough email readers
that separate the subject line from the message body (and hide the
important headers in amongst all sorts of crap) that without
repeating the subject, you can be sure that some people will miss
it and be confused...

BillW

2009\02\05@115414 by olin piclist

face picon face
William Chops" Westfield" wrote:
>> Your question was "Is there some sort of guide that is more Microchip
>> compatible?".  Guide for what?
>
> See the "Subject" line of the message...

No, I won't.  I expect the body of the message to stand by itself.

> "USB Game Controller."
> With that info, it's clear enough even without any additional
> context.

Only partly.  That says what the guide should be about but not what whatever
the existing guide is that the desired one is being compared to.  "More
compatible" is meaningless without knowing compared to what.

> On the other hand, there are enough email readers
> that separate the subject line from the message body (and hide the
> important headers in amongst all sorts of crap) that without
> repeating the subject, you can be sure that some people will miss
> it and be confused...

Or dismiss you as lazy or arrogant or both.

When you're writing something many people will see, especially when your the
one asking for a favor, you should make reading the message as easy and
hassle free as possible.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

More... (looser matching)
- Last day of these posts
- In 2009 , 2010 only
- Today
- New search...