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?
When using force feedback on a racing wheel in a console application, all the calls do the API work as expected, but
IsForceFeedbackMotorPoweredOnreturns 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?