none
OEMDATA registry key RRS feed

  • Question

  • I wander if anyone can direct me to information about following the registry key:
    HKLM\SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\<MyDeviceVID&PID>\OEMData

    I have noticed that it is associated with the behaviour of my HID device.

    Thank you in advance.

    Wednesday, November 4, 2015 7:14 AM

Answers

  • Let me answer my own question.

    In the Windows 95/98 days, the hardware vendor was required to describe the device capabilities through the registry. The relevant entry was OEMdate as described here.
    The older versions of DirectX, it would take the definition of the hardware from this registry entry. The definition includes axis remapping (example: JOY_HWS_ZISJ2X = Z is on the J2 X axis.) and device type: Yoke, Gama pad, Race car controller and Head tracker. In addition this registry entry reports the number of buttons per device. Note that the definition is per driver rather than per device. In other words, all devices are identical.

    Nowadays this is not required because the system takes this data from the device descriptor - passed by the USB from the device through the mini-driver to the system.

    A list of valid values is listed in file  mmddk.h .

    Saturday, November 7, 2015 7:59 PM