|
Post by ranma13 on Feb 21, 2019 10:53:13 GMT
Hello, I'm writing an application that can take DirectInput FFB commands and convert them to commands recognizable by the Brunner CLS-E joystick, a FFB device that uses a custom FFB implementation. I plan to use the feeder with sims such as DCS World and IL:2, which uses multiple simultaneous FFB effects (for example, spring effect + periodic square wave + damper). Currently, I've written a feeder that can output the DirectInput FFB commands in a format that I can work with, but I've noticed that the Effect Block Index is always 1. This is troublesome because if the sim sends an "Effect Operation -> Effect Stop at Effect Block Index 1" command, I don't know which of the effects I should be stopping because they all have the same Effect Block Index. I noticed that this was talked about on the old forums here: vjoystick.sourceforge.net/site/index.php/forum/5-Discussion/1002-vjoy-2-1-6-releasedBut it doesn't look like any solution was ever proposed. I was wondering if there exists either a solution or a workaround for this issue. Please let me know, thanks!
|
|
|
Post by Shaul (Admin) on Feb 22, 2019 17:10:13 GMT
Hi, I have written this part of the code a few years ago so I can't remember the details. I am sure you are much more fluent with the FFB aspects than I am. vJoy indeed supports only Block index 1. This is a known limitation though I cannot recall an application that needed more than one.
vJoy is used to trick an app to think that it is an HID. If you are writing your own app I can't see why you need to use vJoy. Can't you write it to interact directly with this Brunner CLS-E joystick?
|
|
|
Post by ranma13 on Feb 22, 2019 21:28:32 GMT
Flight sims will routinely use 2-3 simultaneous effects. What I'm writing is a glue app that can receive the DirectInput FFB commands sent by the flight sim to the vJoy HID, do some formatting, then send it to the CLS-E joystick API in their own format.
|
|