S10JlAbraxis Posted March 31, 2024 Posted March 31, 2024 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?
Aremes Posted June 23, 2024 Posted June 23, 2024 (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 June 23, 2024 by Aremes
firdimigdi Posted June 24, 2024 Posted June 24, 2024 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.
1Sascha Posted August 14, 2024 Posted August 14, 2024 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.
firdimigdi Posted August 15, 2024 Posted August 15, 2024 Sure. I picked the last encoder (it's the E2 on the throttle) - buttons 65, 66: 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: 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now