Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Robert marquardt

Input device enumeration

Recommended Posts

It seems that OF enumerates the DirectX input devices wrongly.

Normally a game only tries to enumerate gamepads and joysticks.

OF ignores the device class and enumerates all input devices.

By that it finds my device of class "generic HID" and reads its buttons. Since i handle the device with an application and generate key presses, the device gets handled twice which assigns two actions to a single button.

Share this post


Link to post
Share on other sites

i guess u did the same thing as me:

to put the 4-in-one VIA patch 4.38.... sad.gif

since i did this for my computer i m playing with:

3 keyboards and 2 joystick!!!! wow.gif

Héhé now i m waiting for u in MP.... with all of that i m invulnerable smile.gif

***Note it's a bug refered to VIA MB chipset forums since 1 month and still no correction... if u got a VIA chipset and a sidewinder joystick dont use that patch***

Share this post


Link to post
Share on other sites

I don't see how the VIA patch could do something like that. Anyway check "device manager" and make sure there's nothing there that shouldn't be in there. Also, OF will only use devices recognized by DirectX as "gamepad/joystick". You can see all the connected "gamepads/joysticks" in the gamepad control panel (windows). Again, make sure there are only entries that should be there.

Share this post


Link to post
Share on other sites

The Game Options control panel does NOT see my "generic HID" device.

My device is changed dynamically from "gamepad" to "generic HID" by a lower USB filter driver. This obviously works or the Game Options Control panel would see it (tested).

I still think that the enumeration of OF is incorrect. Maybe it does not check fully for joysticks and gamepads.

Share this post


Link to post
Share on other sites

Screenshot from device manager. Notice that the joystick is listed twice. My USB mouse is listed there too.

However, OF only "sees" the joystick as a "game controller", not the mouse. So it's correct.

This is how it looks in the control panel. (also shown is a gamepad, connected to gamport -> soundcard midi port)

I really suggest you make sure the correct drivers are installed. It really shouldn't say "generic hid" (human interface device) as it could be considered to be many things (mouse, gamepad, joystick etc...)

Edited by ALDEGA

Share this post


Link to post
Share on other sites

Please, i have a driver TO MAKE IT "generic HID"!

So Game Options Control Panel is correct NOT to show my device.

The idea of the driver is to remove the device from precisely this list.

OF still enumerates my device. This indicates that OF does not work the same way as the control panel.

Most probable guess: the test for gamepad or joystick is not complete.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (jawk @ May 07 2002,15:56)</td></tr><tr><td id="QUOTE">since i did this for my computer i m playing with:

3 keyboards and 2 joystick!!!!  wow.gif

Héhé now i m waiting for u in MP.... with all of that i m invulnerable smile.gif<span id='postcolor'>

Jawk, how many arms do you have?

Are you from Antares IX?!? tounge.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×