Jump to content

Recommended Posts

  • Aerosoft

Please login to display this image.



Using the OMSI blinkers with Aerosoft Truck Wheel

 

This tutorial explains a workaround allowing the blinkers in OMSI to switch OFF
when the lever on the wheel is r
eturned to the OFF position.

 

OMSI has 3 functions managing the blinkers :

Function 1 : Set blinkers to left

Function 2 : Set blinkers to right

Function 3 : Set blinkers to OFF

 

The Truck Wheel only has two contacts :
Contact 1 : Set blinkers to left

Contact 2 : Set blinkers to right

 

So, the wheel never gives the command to OMSI to set the blinkers to OFF

 

We are going create a “virtual contact” that will turn to ON when none of the left and right contacts of the wheel are ON.

This virtual contact will then be assigned in OMSI to the Set Blinker OFF function.

 

The system is quite easy.

1 – Create a virtual joystick

2 – Force Axis X of the virtual joystick to be set to max when either blinker left or right is set to ON

3 - Set an input of the virtual joystick to ON when the virtual Axis X is set to max

4 – Invert the virtual joystick input

5 – Assign the inverted virtual joystick input to the Set blinkers to OFF function in OMSI


It sounds a bit complex and unclear. So let’s go step by step.

STEP 1 :
Download and install two small freeware :
- Vjoy : https://sourceforge.net/projects/vjoystick/

- Universal Control Remapper (UCR) https://github.com/Snoothy/UCR/releases/download/v0.9.0/UCR_v0.9.0.zip

Please login to display this image.



STEP 2 :
Create a virtual joystick with vJoy.
You can setup the number of axes and buttons you want.
Just make it simple and create a standard 8 axes / 32 buttons joystick.
- Press Apply.
- Restart your computer.

Please login to display this image.


STEP 3 :
The newly created virtual joystick now appears in the Windows joystick utility.

Please login to display this image.

 

STEP 4 :
- Start UCR

- Add a new profile

Please login to display this image.

 

STEP 5 :
1 -  Name your profile as you want
     (We name it TruckWheelOMSI in the example)

2 – Select the Truck Wheel AND the vJoy Device as input devices

3 – Select the vJoy Stick 1 as output device

  • Double-Click on the TruckWheelOMSI profile name to open it.

Please login to display this image.

 

STEP 6 :

1 – Add a Button to Axis plugin by clicking the “+”
2 – Select the Button #8 of the Truck Wheel in the top panel

      Select the Axis X of the vJoy in the bottom panel
      Enter the same settings as on the image

3 – Add a second Button to Axis plugin
      Select the Button #9 of the Truck Wheel in the top panel

      Select the Axis X of the vJoy in the bottom panel
      Enter the same other settings as on the image

Please login to display this image.

 

STEP 7 :
1 – Add a Axis to Button plugin by clicking the “+”

2 – Select the Axis X of the vJoy in the bottom panel
      Select the Button #1 of the vJoy in the bottom panel for BOTH high and low button
      Enter the same other settings as on the image

Please login to display this image.



STEP 8 :
1 – Add a Button to Button plugin by clicking the “+”
2 – Select the Button #1 of the vJoy in the bottom panel
      Select the Button #3 of the vJoy in the bottom panel

à Make sure you set the Invert slider to the right

Please login to display this image.



STEP 9 :
In OMSI, assign buttons #8 and #9 of the Truck Wheel to Set Blinker Left and Set Blinker Right.

Please login to display this image.


STEP 9 :
In OMSI, assign buttons #3 of the vJoy Device to Set Blinker OFF

Please login to display this image.


STEP 10 :
In UCR, enable the profile by clicking on the start arrow button

Please login to display this image.

 

You are all set !

  • 3 weeks later...
  • Aerosoft

Sorry, I don't really get it.
These screenshots come from the tutorial for the blinkers, right ?
What is exactly your question and how does it relate to the sequence problem you seem to have with the wipers and lights ?

  • 3 weeks later...

Hi,

 

I have a problem with VJoy.  It's all good in the app and in the Game controller but in Omsi it only shows one button.  I did a re-install, removed the drivers and tried different settings but still only one button on the device in Omsi.  At the end i tried it on my other pc, here the same result. After a fresh install again it shows only one button.  At the end i removed the game controller config file of Omsi but even with a fresh start there it didn't change it's mind and still showed only one button.

 

Any idea what can be the case here?

 

Please login to display this image.

Please login to display this image.

Please login to display this image.

Adding to my post above

 

1, I encountered a post about the same problem in the german sectiom.  So at least one more person experience the same problem.

2, I found a solution by switching the buttons in the UCR. SImply redirect the X axis to button 3 for the high and low button and then put then to button 1.  In Omsi i programmed that only available button for Set blinker off.  It works like a charm.

 

What struck me: The Vjoy app seems to remember the settings of the previous installation after a new installation. If there is a problem or incorrect setting in the previous installation, this will be included in the fresh install.  That is not convenient and for me a reason to remove all drivers, but that has not led to a positive result. 

 

Why it won't work properly remains a bit mysterious to me.

 

Then lastly. In principle this is a brilliant solution. Logic at its best: If something is not on, it must be turned off.

  • Aerosoft

Hi,

Thank you for all these explanations.

I am indeed busy with another similar case in the German section. 

It seems to be a recurrent issue to wich there must be a solution.

I will work on that and, hopefully, come with a solution soon.

I will come back to you both asap.

10 hours ago, SimWare said:

Hi,

Thank you for all these explanations.

I am indeed busy with another similar case in the German section. 

It seems to be a recurrent issue to wich there must be a solution.

I will work on that and, hopefully, come with a solution soon.

I will come back to you both asap.

Thanks for you reaction.  I will wait patiently!  In the meantime i go on with some research myself.  I guess it's somewhere in the settings, going back to default setting will maybe give some light.  After amost 14 years of Omsi i know it has some some mean and unpredictable character traits that can surface at the strangest moments.  Fortunately, I have always managed to solve most of them. :)

  • Aerosoft

Thank you. 

I don't have acces to my testing equipment this weekend but I will work on it on Monday.

In the meantime,  perhaps you can experiment with the "Delete Device" button to create afterwards a full new device, or create a second one and see if it somehow helps. 

These are just thoughts...

I performed a lot of "dances" with Vjoy and Omsi.  Reviewed all kinds of variations but no positive results.  What is striking is that the changes on the axes are implemented neatly, but Omsi refuses to see more than 1 button, Omsi continues to see that one button, even if the number of buttons on the VJoy is zero.  Apparently Omsi does not see any buttons on the VJoy and places 1 button on it by default.
Funny enough, that one button does work. I use that in my workaround mentioned above.  


I also tried it on a clean Omsi installation. Same result here too, only one button.

 

What did i test:

- Add and remove devices;

- Reinstall the Vjoy app;

- Removed all drives;

- Set VJoy on and off in the device manager;

- Removed all related Omsi files (gamecontroler config and settings)

- Did a fresh reinstall of Omsi.

- Made several VJoy devices, with more then one VJoy device Omsi will list them all (same name) but the settings for all dfferent devices are the same while i did set them up with different axes and amount of buttons.

 

I give it up for now.  

Yes it works!!  Very good!

 

Funny enough i did work on that file and i did adjust the amount of button, only i didn't put in those zero's in for the buttons...   I even wondered what that lone zero was doing there... 

Thanks again.

 

It's good to be aware that a faulty entry will lead to an Omsi crash.

 

But it is the solution.

 

                                                                                                                               

  • 1 month later...

Sorry to jump back on this thread but is there a way to set the other stalk up to use the wipers at all ive tried looking at copying profiles to test buttons that it shows is lit up but dosent like to work ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use