Jump to content

Recommended Posts

S10JlAbraxis
Posted

I have created a virtual axis on my Virpil joystick from an encoder wheel.  It works fine with other sims (MSFS and DCS) but it is not recognized in IL-2 since the encoder still generates button pushes in addition to the axis (only the button pushes are recognized).  To get around this I edited the IL-2 current map file with the information identifing the stick and axis.  This approach worked fine for a non virtual slider that generated a key press on the same stick but does not work for the virtual axis.  I know the virtual axis is working correctly since it is functioning in the windows joy stick app as well as MSFS and DCS.  There is a post about this from a few years back but the issue was never resolved.

 

Does any one know if there is a way to get IL2 to recognize a virtual axis or is this not possible?        

  • 2 months later...
Posted (edited)

I was considering setting up a virtual axis for some of my encoders/wheels, but I don't want to waste the time if IL-2 can't support them. Did you ever get this sorted and working in IL-2? Thanks!

 

Edit: I did just find this post by @LukeFF from one of the developers: 

It's taking advantage of the 64 button limit that IL-2 used to have by mapping the buttons to > 64. However, with the latest IL-2 update, they increased that to 128, so might have to use a button > 128 to do the same thing. I'm going to give this method a try and see how it goes.

Edited by Aremes
Posted
On 4/1/2024 at 2:26 AM, S10JlAbraxis said:

Does any one know if there is a way to get IL2 to recognize a virtual axis or is this not possible?

 

I have one defined on my Virpil throttle, works fine - all I did was to remove the button events generated by the encoder in the Virpil config software as I didn't figure they'd be useful and would probably interfere with the ingame control binding process.

  • 1 month later...
Posted
On 6/24/2024 at 5:00 PM, firdimigdi said:

I have one defined on my Virpil throttle, works fine -

Can you (or anyone else who's managed to get this to work) post a screenshot of the relevant settings/screens in VPC Config?

 

Tried it again last night after updating VPC Config and the firmware and while the encoders sort of work for oil/water radiators, they're basically useless on planes that have 0-100% settings-range (like the 109 with manual radiator control). The encoder does work, but it takes a lot of turning of the know to go from fully closed to fully open. So I *guess* my only option would be to try a virtual axis, but I'm not sure how to do that.

 

 

S.

Posted

 

Sure.

 

I picked the last encoder (it's the E2 on the throttle) - buttons 65, 66:

image.png.1152cd2f0f13d8bddd85b6ea029dd88d.png

 

Set a virtual axis with increase/decrease and reset set to the encoder press (button 64) - if I wanted it to be a centered axis with this step value I'd set the reset value to 30000:

image.thumb.png.e9d64e4d33367f22de600fadf603a92e.png

 

The other bit, depending on wherever else you use it, is to remove mapping from buttons for the encoder increase/decrease buttons otherwise you'll get double inputs when trying to bind the controller (of course you can always do it manually in the config file).

 

I think one non-intuitive quirk was that I had to calibrate the new axis in the VPC software before IL-2 would recognize it, or something to that extent.

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...