Skip to content

XInput won't initialise under Windows 10 #1

@janoi152

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.

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