Skip to content

Force feedback effects don't work in console applications #23

@jcmonnin

Description

@jcmonnin

When using force feedback on a racing wheel in a console application, all the calls do the API work as expected, but IsForceFeedbackMotorPoweredOn returns false and no force feedback effect is active.

I tested with a Logitech G29. The default center spring stays like if no force feedback effect has been configured.

As I test, I copied the same code to a regular win32 application, and it works as expected there.

I haven't seen this documented anywhere. With DirectInput, you have to create a fake hidden window for exclusive mode to work; using HWND of the console window is not enough. With GameInput, there seems to be no API to provide a HWND.

Is it a know issues that it won't work on console application? Are there possible workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions