Skip to content

Calls to DirectInput EnumDevices sometimes very slow! #1

Closed as not planned
@MrTimcakes

Description

@MrTimcakes

Typically calls to EnumerateDevices which calls _DirectInput->EnumDevices take about 85ms on average on my system.
Sometimes, this is orders of magnitude larger taking in the range of minutes instead of milliseconds.
This is due to device drivers on the system, in my case a Corsair K70 Keyboard, hanging and not replying to Window's request to query attached devices.

The issue has already been discussed on StackOverflow: https://stackoverflow.com/q/10967795

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions