Skip to content

Not calling detoured MyGetDeviceState on the MS directinput sample #1

@zass30

Description

@zass30

Hello,

I am using dinput_remapper to test out remapping on the MS directinput sample:
https://github.com/walbourn/directx-sdk-samples/tree/master/DirectInput

The above sample builds a directinput application called Joystick.exe that displays stick movement and button presses.

After using injector.exe on Joystick.exe, I find that the detour function MySetDataFormat() gets called, but MyGetDeviceState() never does. I put in logging in both functions to double check. In the directinput sample, GetDeviceState() gets called regularly.

I'm not sure why the detoured MyGetDeviceState isn't getting called, so I'm opening this issue.

Thank you for your time!

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