Hello,

I'm just playing around with an USB interface card (
http://www.velleman.be/ot/en/product/view/?id=351980 ). This interface
card is controlled via calls to an (user mode) DLL (K8055D.DLL) for
setting and getting the analogue and digital output/input.

My idea is to use this card as a base for a custom build flight sim
yoke. As far as I'm understanding the DDK docs, I will have to write an
HID minidriver to get DirectInput to "see" the interface card as
joystick device.

Problem: The minidriver is a kernel mode driver. The provided DLL is
user mode. So, I assume using the high-level (and comfortable) DLL
calls out of the minidriver is not possible, isn't it?

Is there a other solution than reverse-engineer and re-implement the
low-level DLL to interface card USB communication to pretend the card
to be a joystick for windows?

Kind Regards,
Horst.

Re: Re-using a user mode DLL for implementing a HID joystick? by Robert

Robert
Tue Feb 07 12:23:49 CST 2006

Horst wrote:

> Is there a other solution than reverse-engineer and re-implement the
> low-level DLL to interface card USB communication to pretend the card
> to be a joystick for windows?

This is the hard way.

Shameless product plug following:
Buy a ready made USB joystick chip from http://www.codemercs.com and
build your own joystick.

Re: Re-using a user mode DLL for implementing a HID joystick? by Jeroen

Jeroen
Tue Feb 07 14:59:07 CST 2006

Hi,

You don't need to write any driver at all if you can make your board appear
as a joystick device. I havent read the documentation of your Velleman
board, but if you can supply your own USB descriptors (HID descriptors) this
is probably the easiest way to do it.

By the way, I did create a joystick that way using a microcontroller.

Jeroen

"Horst" <Horst.HH.Huber@web.de> schreef in bericht
news:1139333281.548874.93090@g14g2000cwa.googlegroups.com...

> My idea is to use this card as a base for a custom build flight sim
> yoke. As far as I'm understanding the DDK docs, I will have to write an
> HID minidriver to get DirectInput to "see" the interface card as
> joystick device.



Re: Re-using a user mode DLL for implementing a HID joystick? by Robert

Robert
Wed Feb 08 05:33:12 CST 2006

Jeroen Koeter wrote:

> Hi,
>
> You don't need to write any driver at all if you can make your board appear
> as a joystick device. I havent read the documentation of your Velleman
> board, but if you can supply your own USB descriptors (HID descriptors) this
> is probably the easiest way to do it.

No, it is obviously a non-joystick HID device which cannot be changed.