Skip to content

Unimplemented EnumDevicesBySemantics disables keyboard when using Xidi #113

Description

@ThirteenAG

@samuelgr I traced the issue to

template <EDirectInputVersion diVersion>
requires (DirectInputVersionIs8<diVersion>)
HRESULT __stdcall WrapperIDirectInputVersion8Only<diVersion>::EnumDevicesBySemantics(
DirectInputTypes<diVersion>::ConstStringType ptszUserName,
DirectInputTypes<diVersion>::ActionFormatType* lpdiActionFormat,
DirectInputTypes<diVersion>::EnumDevicesBySemanticsCallbackType lpCallback,
LPVOID pvRef,
DWORD dwFlags)
{
// Operation not supported.
return DIERR_UNSUPPORTED;
}

this code, and asked AI to help resolve it:

ThirteenAG@fff7d7d

Can confirm that keyboard is working again. What do you think?

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