i want to use my Thrustmaster t500 wheel pedals for yaw axis. I installed vjoy and the ucr (universal control remapper) tool. I`ve mapped the axis to the virtual joystick. In the control panel everything is working. But when i start il2 bos and try yaw axis to map to the vjoy, it shows only the axis of the t5oo wheel.
After the installion and configuration of vjoy and joystick gremlin (in jc I merged the throttle and clutch pedals axisses to 1 axis) i noticed that the "input repeater" of joystick gremlin does not work in IL2 BOS.
To configure the virtual axis I edited the "...\SteamLibrary\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\input\current.actions" file and added the next line by first assigning rpc-yaw in game to a random axis so the entry was made in the file and thereafter edited the current.actions file and changed it to the right joystick (joy3 is my vjoy) and the right axis (x).
I ticked Input Repeater, went into IL2 to bind the axis, pressed one of the pedals and it came up with my race pedals, then pressed retry without pressing a pedal and the vjoy device showed up so I accepted that. Turned off Input Repeater and all worked!
you are awesome dude. thats excectly what a was trying to do but i cannot build a generic solution. so far my code can can read from mega and send that data to vjoy but your solution is ready to go yet simple. of course i have to chang that a bit to work with my hardware but thank you for your hard work, that saves a lot of precious time for me. you should consider publishing it with more loud that makes the people to find some cool stuff more easily.
You are awesome man.This is the most comprehensive open source package i could find for arduino Joystick interfacing .All other sources provide hex only .Is there any way that your application be developed to transmit force feedback back from steering back to arduino with vjoy(the vjoy sdk has the required libs to get the data from game) if you could do that your app will be unbeatable.
There's a similar implementation in a french forum (DIY arduino forcefeedback steering wheel PART 1 - YouTube , =49848 ) but they provide only the hex file for arduino and it limits further development .
I TRIED to follow your ibus instructions, but I don't know, (no.... JOY ..... ) I tried pasting the ibus.h and ibus.cpp to files in my libraries folder but first problem, no such ibus.h found,, second problem, I actually just don't know what I'm doing, or how to make ibus protocol, or if that's the best option anyway, to get vjoy. I think that once vjoy sees my inputs, basically everything else works automatically,,, vjoy already shows up in my game options menus.
I remapped my pedals as vjoy device and hid the csl pedals alright. I remapped all the keys in the f1 22 game. I can race with these settings but FPS gradually drops from 90s to mid 20 range. I don't think I am doing anything wrong but maybe someone has a tip.
- you need a bigger deadzone on one of your sticks - if you have an older potentiometer based devices - those tend to be noisy. King of the hill for me is CH products stuff and why they are now all in the closet. Increasing the deadzone will remove the centered noise. You unfortunately cannot do anything about noise when the controller is deflected because Gremlin will pickup any input change - it's very sensitive as it should - so it will just propagate any noisy input - it sends the last input read to vjoy so if it gets two inputs all the time, vjoy will get them. A way to fix that is via a custom plugin you can write that will look at the input value and create a dynamic deadzone around the current position. However at that point, the problem is the hardware, the band-aid should not be needed. HAL effect sticks do not have that issue because they don't use pots - the sensor is dead on and doesn't typically go bad over time (other parts of the stick might however).
My Suggestion is, that vjoy and josystick gremlin have Problems with merging the axes. The Thing is that when both yokes are centered the vjoy monitor Shows a half scale. If you imagine the yoke as a throttle the program thinks of it as the throttle would be in a middle Position.
Im using the normal supported version the only thing thats different and started the crashing is that software. and it only crashes the game in multiplayer and thats weird because its basically just a virtual joystick and the only thing it does is set some controls to a joystick... also the multiplayer worked perfectly before i installed vjoy so its clealy some compability with vjoy and truckersmp
df19127ead