How to Implement HID force feedback Joystick driver

Dear All,

I want to Implement HID force feedback Joystick driver on win2000,anybody can point me how to start this work,How to support directinput and Where can I find some document and sample codes about it?

Thanks in advance for any help!
Black

What wires (serial, USB or what else?) will the joystick use to connect to
the computer?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 11:58 AM
Subject: [ntdev] How to Implement HID force feedback Joystick driver

> Dear All,
>
> I want to Implement HID force feedback Joystick driver on win2000,anybody can
point me how to start this work,How to support directinput and Where can I find
some document and sample codes about it?
>
> Thanks in advance for any help!
> Black??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e
?˛???m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
>

It use USB wire to connect to the computer.Do you have some advice? Thanks a lot!

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 5:56 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

What wires (serial, USB or what else?) will the joystick use to connect to
the computer?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 11:58 AM
Subject: [ntdev] How to Implement HID force feedback Joystick driver

> Dear All,
>
> I want to Implement HID force feedback Joystick driver on win2000,anybody can
point me how to start this work,How to support directinput and Where can I find
some document and sample codes about it?
>
> Thanks in advance for any help!
> Black??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e
?˛???m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
>


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@21cn.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Read the USB HID spec first, and the MSDN Library chapter on joysticks.

There are large chances that you will not need a driver, if the device will
be properly designed.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 3:05 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

> It use USB wire to connect to the computer.Do you have some advice? Thanks a
lot!
>
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 5:56 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> What wires (serial, USB or what else?) will the joystick use to connect
to
> the computer?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Black Lee”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 11:58 AM
> Subject: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> > Dear All,
> >
> > I want to Implement HID force feedback Joystick driver on win2000,anybody
can
> point me how to start this work,How to support directinput and Where can I
find
> some document and sample codes about it?
> >
> > Thanks in advance for any help!
> > Black??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??
z{e
> ?˛???m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> ??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e?˛?
??m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
>

Thanks you very much for your reply!
Can you point me whether need to implement the driver stack as below?

|
DirectInput DLL
|
HID Joystick driver(kernel mode)
|

Otherwise How can I remap joystick key as keyboard key(for example remap a joystick button as Ctrl+C)

Thanks!

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 7:20 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

Read the USB HID spec first, and the MSDN Library chapter on joysticks.

There are large chances that you will not need a driver, if the device will
be properly designed.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 3:05 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

> It use USB wire to connect to the computer.Do you have some advice? Thanks a
lot!
>
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 5:56 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> What wires (serial, USB or what else?) will the joystick use to connect
to
> the computer?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Black Lee”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 11:58 AM
> Subject: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> > Dear All,
> >
> > I want to Implement HID force feedback Joystick driver on win2000,anybody
can
> point me how to start this work,How to support directinput and Where can I
find
> some document and sample codes about it?
> >
> > Thanks in advance for any help!
> > Black??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??
z{e
> ?˛???m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> ??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e?˛?
??m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
>


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@21cn.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

No. If your joystick is properly developed - then it will need no drivers,
the standard HID stack will handle it.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 4:52 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

>
> Thanks you very much for your reply!
> Can you point me whether need to implement the driver stack as below?
>
> |
> DirectInput DLL
> |
> HID Joystick driver(kernel mode)
> |
>
> Otherwise How can I remap joystick key as keyboard key(for example remap a
joystick button as Ctrl+C)
>
> Thanks!
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 7:20 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> Read the USB HID spec first, and the MSDN Library chapter on joysticks.
>
> There are large chances that you will not need a driver, if the device
will
> be properly designed.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Black Lee”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 3:05 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> > It use USB wire to connect to the computer.Do you have some advice? Thanks
a
> lot!
> >
> >
> > ----- Original Message -----
> > From: “Maxim S. Shatskih”
> > To: “Windows System Software Devs Interest List”
> > Sent: Tuesday, June 08, 2004 5:56 PM
> > Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
> >
> >
> > What wires (serial, USB or what else?) will the joystick use to connect
> to
> > the computer?
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > ----- Original Message -----
> > From: “Black Lee”
> > To: “Windows System Software Devs Interest List”
> > Sent: Tuesday, June 08, 2004 11:58 AM
> > Subject: [ntdev] How to Implement HID force feedback Joystick driver
> >
> >
> > > Dear All,
> > >
> > > I want to Implement HID force feedback Joystick driver on win2000,anybody
> can
> > point me how to start this work,How to support directinput and Where can I
> find
> > some document and sample codes about it?
> > >
> > > Thanks in advance for any help!
> > > Black??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r
??
> z{e
> > ?˛???m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
> > >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@21cn.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > ??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e??
??
> ??m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> ??й???X???y??➮w???z?@A?a???,???w?r??j?brW?q???r??z{e?˛?
??m?m?{]z???f??o춊ځ?+i?r???ޱ??i?Z?G?j)m?W???]w???-??,??(
>

You need to support the PID part of the HID spec. If you do so, there is no need to write a driver.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Black Lee
Sent: Tuesday, June 08, 2004 12:59 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to Implement HID force feedback Joystick driver

Dear All,

I want to Implement HID force feedback Joystick driver on win2000,anybody can point me how to start this work,How to support directinput and Where can I find some document and sample codes about it?

Thanks in advance for any help!
BlackB栋瞴叜
zA?y龎q

Use SendInput() in user mode to report key strokes. This is the easiest solution for key remapping.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Black Lee
Sent: Tuesday, June 08, 2004 5:53 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

Thanks you very much for your reply!
Can you point me whether need to implement the driver stack as below?

|
DirectInput DLL
|
HID Joystick driver(kernel mode)
|

Otherwise How can I remap joystick key as keyboard key(for example remap a joystick button as Ctrl+C)

Thanks!

----- Original Message -----
From: “Maxim S. Shatskih”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 7:20 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

Read the USB HID spec first, and the MSDN Library chapter on joysticks.

There are large chances that you will not need a driver, if the device will
be properly designed.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Black Lee”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 3:05 PM
Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver

> It use USB wire to connect to the computer.Do you have some advice? Thanks a
lot!
>
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 5:56 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> What wires (serial, USB or what else?) will the joystick use to connect
to
> the computer?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Black Lee”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 11:58 AM
> Subject: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> > Dear All,
> >
> > I want to Implement HID force feedback Joystick driver on win2000,anybody
can
> point me how to start this work,How to support directinput and Where can I
find
> some document and sample codes about it?
> >
> > Thanks in advance for any help!
> > Black泄?妷禳X?y?呪灝w?腐z盄A玜囤?铭,畨鍔wr壙j籦rWq?夌?躬農觌
z{e
> 仕洷殊m鏼]z霈眾o於娳佺+i?r墦㈤旃??薇檩i筞濭)m毥镧底?]w霊?-锄,(
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> 泄?妷禳X?y?呪灝w?腐z盄A玜囤?铭,畨鍔wr壙j籦rWq?夌?躬農觌z{e仕洷
殊m鏼]z霈眾o於娳佺+i?r墦㈤旃??薇檩i筞濭)m毥镧底?]w霊?-锄,(
>


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@21cn.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
B缍*癤沧y蓞猱w
竮盇?
⑹瀀y数獕蓂鵷閖簽瞨y灲v殺礜瞨zuj櫠j碉J董

Thanks you very much for your advise!

----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 08, 2004 10:38 PM
Subject: RE: [ntdev] How to Implement HID force feedback Joystick driver

> Use SendInput() in user mode to report key strokes. This is the easiest solution for key remapping.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Black Lee
> Sent: Tuesday, June 08, 2004 5:53 AM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> Thanks you very much for your reply!
> Can you point me whether need to implement the driver stack as below?
>
> |
> DirectInput DLL
> |
> HID Joystick driver(kernel mode)
> |
>
> Otherwise How can I remap joystick key as keyboard key(for example remap a joystick button as Ctrl+C)
>
> Thanks!
>
> ----- Original Message -----
> From: “Maxim S. Shatskih”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 7:20 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> Read the USB HID spec first, and the MSDN Library chapter on joysticks.
>
> There are large chances that you will not need a driver, if the device will
> be properly designed.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Black Lee”
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, June 08, 2004 3:05 PM
> Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
>
>
> > It use USB wire to connect to the computer.Do you have some advice? Thanks a
> lot!
> >
> >
> > ----- Original Message -----
> > From: “Maxim S. Shatskih”
> > To: “Windows System Software Devs Interest List”
> > Sent: Tuesday, June 08, 2004 5:56 PM
> > Subject: Re: [ntdev] How to Implement HID force feedback Joystick driver
> >
> >
> > What wires (serial, USB or what else?) will the joystick use to connect
> to
> > the computer?
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > ----- Original Message -----
> > From: “Black Lee”
> > To: “Windows System Software Devs Interest List”
> > Sent: Tuesday, June 08, 2004 11:58 AM
> > Subject: [ntdev] How to Implement HID force feedback Joystick driver
> >
> >
> > > Dear All,
> > >
> > > I want to Implement HID force feedback Joystick driver on win2000,anybody
> can
> > point me how to start this work,How to support directinput and Where can I
> find
> > some document and sample codes about it?
> > >
> > > Thanks in advance for any help!
> > > Black泄?妷禳X?y?呪灝w?腐z盄A玜囤?铭,畨鍔wr壙j籦rWq?夌?躬農觌
> z{e
> > 仕洷殊m鏼]z霈眾o於娳佺+i?r墦㈤旃??薇檩i筞濭)m毥镧底?]w霊?-锄,(
> > >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@21cn.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > 泄?妷禳X?y?呪灝w?腐z盄A玜囤?铭,畨鍔wr壙j籦rWq?夌?躬農觌z{e仕洷
> 殊m鏼]z霈眾o於娳佺+i?r墦㈤旃??薇檩i筞濭)m毥镧底?]w霊?-锄,(
> >
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@21cn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> B缍癤沧y蓞猱w
> 竮盇?
> ⑹瀀y数獕蓂鵷閖簽瞨y灲v殺礜瞨zuj櫠j碉J董
> B笶
’X!y -➮wz@Aa 0 Xy& ^qt jٲry ׽Wyrw:홞˱m ֕zfyګ׿]ۡˢ