OS/2, eCS & ArcaOS - Technical > Games

DOS VDM - USB and Game port Gamepad support

<< < (74/77) > >>

Mark Szkolnicki:
Heh Dave!


--- Quote from: Dave Yeo on November 08, 2022, 02:07:56 am ---
--- Quote from: David McKenna on November 07, 2022, 10:55:27 pm ---Hi Mark,

  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

--- End quote ---

Is that # a typo for 6?

--- End quote ---

Wim's USBECD.SYS does allow global characters to be used in the descriptors - I suspect that if C21# was changed to C216, like your F310, it would make no difference.

With the Logilink connection on my older Thrustmaster Flight Pro, the second grouping for me is actually 203#, as switching between modes 1-4 could be ID's 2030 2031 2032 or 2033.

I was interested, knowing your equipment ID, as to whether Davids was the same - and its not.

Your Device Release Code is 0300 his is 4014 - I suspect a much newer version.

I ran into this when I was having a discussion with Ivan related to the Corsair K95 keyboard - mine had 6 customizable keys to the left and was bought new 2 years ago - his has 18 and is a legacy board - but the model number is the same.

Looking at the oinput data, I suspect signals may be totally different between the two JoyPads - but that is something for another day.

M

David McKenna:

--- Quote from: Dave Yeo on November 08, 2022, 02:07:56 am ---
Is that # a typo for 6?

--- End quote ---
Dave,

  No, it is a place holder. In XInput mode it is a 'd' and in DirectInput mode it is a '6'. The place holder allows for me to switch modes without changing the line in CONFIG.SYS.

Regards,

Wim Brul:
Hi David,


--- Quote from: David McKenna on November 07, 2022, 10:55:27 pm ---..
  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

 seems to work fine in XInput mode, not so in DirectInput mode.
..

--- End quote ---

I think that is because bcdDevice 4014 applies to XInput mode whereas bcdDevice 0414 applies to DirectInput mode.

Regards,
Wim

P.S. I am already lurking for quite a while now and gradually beginning to like to react again.

Mark Szkolnicki:
Heh Wim!


--- Quote from: Wim Brul on November 09, 2022, 05:18:45 pm ---Hi David,


--- Quote from: David McKenna on November 07, 2022, 10:55:27 pm ---..
  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

 seems to work fine in XInput mode, not so in DirectInput mode.
..

--- End quote ---

I think that is because bcdDevice 4014 applies to XInput mode whereas bcdDevice 0414 applies to DirectInput mode.

Regards,
Wim

P.S. I am already lurking for quite a while now and gradually beginning to like to react again.

--- End quote ---

I was curious as to what you thought about XInput mode vs DirectInput mode for these GamePads - should both work with your drivers?

M

David McKenna:
Hi Wim,

  Great to see you posting here again! - hope you got thru your health issue alright.

 Of course you are correct - it was the bcdDevice value that prevented DirectInput mode from working. Now my CONFIG.SYS has this:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:##14 /N:$GAMEPD$ /S

 and I can use both XInput and DirectInput mode with OInput.cmd. I'll get a new set of test files for this mode and post (probably not until tomorrow evening though... busy with other stuff tonight).

Regards,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version