Skip to content

XInput won't initialise under Windows 10 #1

Description

@janoi152

The library is working alright under Windows 7 but when I tried the same application under Windows 10 (v1607) the xinputAvailable was returning false.

I've traced the problem to this line:
@fXIGetDSoundAudioDeviceGUIDS:=getProcAddress(fXInputHandle,'XInputGetDSoundAudioDeviceGuids');
The problem is that this will return nil and therefore the procedure TXInputInterface.initialise will return false.

When I removed all references to fXIGetDSoundAudioDeviceGuids in the unit, the application was working fine for buttons press detection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions