waqar_mw Posted April 5, 2021 Report Posted April 5, 2021 Hi, I have set up all the axis and buttons as I want them, but for some reason I can not figure out how to configure the switch modes to get more button assignments in my simulator. Can someone please guide me as I have not found anything similar to my question online. Any help will be appreciated thank you.
John Dowson Posted April 5, 2021 Report Posted April 5, 2021 There are various threads on how to get this working with FSUIPC, eg. Note that if the mode switch has a button outside of the 32 button limit in FSUIPC7v7.0.8, you can use the new beta v7.1.0b which has support for up to 128 buttons - see
waqar_mw Posted April 5, 2021 Author Report Posted April 5, 2021 50 minutes ago, John Dowson said: There are various threads on how to get this working with FSUIPC, eg. I have deleted all the drivers and software related to x56. Now the switch mode acts like another button instead of being like a switch key. Do you think I can map it as shift key and get more inputs in my simulator. Further more I wanted to thank you for this software it works really well. Thanks and I have installed the latest version as requested.
John Dowson Posted April 5, 2021 Report Posted April 5, 2021 5 minutes ago, waqar_mw said: Do you think I can map it as shift key and get more inputs in my simulator. To use as a type of 'shift' key with FSUIPC, you can use 'compound button conditions', where the assignments on one button are dependent on the state of another button. Please see the Advanced User Guide for details. John
waqar_mw Posted April 5, 2021 Author Report Posted April 5, 2021 13 minutes ago, John Dowson said: To use as a type of 'shift' key with FSUIPC, you can use 'compound button conditions', where the assignments on one button are dependent on the state of another button. Please see the Advanced User Guide for details. John Thanks John for the quick reply, it is getting late here I will try that tomorrow I think I know what you mean as I have read some posts about compound buttons. I will give that a go tomorrow and let you know and thanks a lot. Regards Waqar
waqar_mw Posted April 10, 2021 Author Report Posted April 10, 2021 On 4/5/2021 at 10:13 PM, John Dowson said: To use as a type of 'shift' key with FSUIPC, you can use 'compound button conditions', where the assignments on one button are dependent on the state of another button. Please see the Advanced User Guide for details. John Hi John I have tried this please check the my log file it is sending two commands at once even when the state of the other button is on. Log for shift keys.txt
waqar_mw Posted April 10, 2021 Author Report Posted April 10, 2021 Hi, Button 134 is supposed to be a shift key and button 5 should be the key to toggle action but it still send both the commands for button 5, like with the shift key control and without the shift key control at the same time. FSUIPC7.log
John Dowson Posted April 10, 2021 Report Posted April 10, 2021 Can you please also show me your FSUIPC7.ini file please 1
waqar_mw Posted April 10, 2021 Author Report Posted April 10, 2021 I am currently trying Linda as it is a bit easier, but I would still love it if I can figure out a way for mapping everything within FSUIPC. If not I will post my results here for everyone using x56 so it may help them out. Currently I mapped toggle master battery with Linda and it would just turn off the batteries but not turn them back on when the key is pressed again. Thanks for your help. FSUIPC7.backup.ini
jaxx Posted April 10, 2021 Report Posted April 10, 2021 You're still having a default assignment for C5 configured (11=PC,5,C65759,0 -{FLAPS_DECR}-). Also do you want to use a button flag? From your description it seems you want a shift-function while button 134 is hold, not toggle a shift with a single press? 11=CP(-C,134)C,5,C65759,0 -{FLAPS_DECR}- 22=CP(+C,134)C,5,C67187,0 -{BATTERY1_SET}- 1
waqar_mw Posted April 10, 2021 Author Report Posted April 10, 2021 7 minutes ago, jaxx said: You're still having a default assignment for C5 configured (11=PC,5,C65759,0 -{FLAPS_DECR}-). Also do you want to use a button flag? From your description it seems you want a shift-function while button 134 is hold, not toggle a shift with a single press? 11=CP(-C,134)C,5,C65759,0 -{FLAPS_DECR}- 22=CP(+C,134)C,5,C67187,0 -{BATTERY1_SET}- Thanks I will give that a go btw that button flag I was just trying them out but couldn't figure it out at first. Anyways thanks for your reply I have finally figured it out how to use shift functionality with Linda as well as FSUIPC from your post. But now I have run into another problem such as I can't get master battery to work and I am reading about LVARS and HVARS, I am finding it a bit complicated but I am trying to work through it.
John Dowson Posted April 10, 2021 Report Posted April 10, 2021 6 hours ago, waqar_mw said: But now I have run into another problem such as I can't get master battery to work and I am reading about LVARS and HVARS, I am finding it a bit complicated but I am trying to work through it. Forget about lvars/hvars for now - they are not yet accessible via FSUIPC. But they certainly shouldn't be needed for master battery. Search for existing topics on this please, I'm sure there are already posts on this... and maybe check the offset documentation spreadsheet. Also, please remember, if using LINDA and have issues you need to go to the LINDA forums. I haven't looked at your files as I beliebe @jaxx identified your problem. But if you still have issues, please post again, and also attach your latest files. 1
waqar_mw Posted April 10, 2021 Author Report Posted April 10, 2021 5 hours ago, John Dowson said: Forget about lvars/hvars for now - they are not yet accessible via FSUIPC. But they certainly shouldn't be needed for master battery. Search for existing topics on this please, I'm sure there are already posts on this... and maybe check the offset documentation spreadsheet. Also, please remember, if using LINDA and have issues you need to go to the LINDA forums. I haven't looked at your files as I beliebe @jaxx identified your problem. But if you still have issues, please post again, and also attach your latest files. Thanks John, yes @jaxx solved my issue. I am glad everything is working now as expected on the HOTAS side of things. I'll have a look as you said but with commands such as ADIRS and mastery battery etc I have not had much luck as I don't see any ADIRS commands in FSX and master battery toggle just turns of the battery instead of turning them back on when required. Anyways thanks for your help. 🙂
John Dowson Posted April 11, 2021 Report Posted April 11, 2021 9 hours ago, waqar_mw said: master battery toggle just turns of the battery instead of turning them back on when required. Which aircraft are you using? Toggle master battery has been reported as working for some aircraft (Baron, Longitude). The ELECTRICAL MASTER BATTERY offset at 0x281C is documented as 'Currently not working for the 747-8: always shows on. Can switch off, but not back on', but at offset 0x3102 it is documented as working for read & write - but it has the same issues as 0x281C. 1
waqar_mw Posted April 11, 2021 Author Report Posted April 11, 2021 I am using the FBW A320 Development Build, it is version 0.6 I believe. On the FSUIPC console when I log the events and press the battery switches in the plane it gives this as an event output: 3860625 *** EVENT: Cntrl= 67073 (0x00010601), Param= 6 (0x00000006) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE I will give these offsets a try and let you know how it goes. There are some other things in the plane such as the APU switches which don't work with the normal controls and when I try to write a lua script in Linda for it the event gets logged but nothing really happens in the plane. I am trying to get all these buttons and switches to be sorted out because I want to not use keyboard and mouse when I fly in VR. Thanks for your help it is really appreciated.
John Dowson Posted April 11, 2021 Report Posted April 11, 2021 7 hours ago, waqar_mw said: I log the events and press the battery switches in the plane it gives this as an event output: 3860625 *** EVENT: Cntrl= 67073 (0x00010601), Param= 6 (0x00000006) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE Have you tried assigning to that event/parameter? Also maybe try the stable or vanilla version - I have had reports of different things working in different versions of the FBW mods. Maybe also check for lvars as these will be available shortly (via lua or macros),
waqar_mw Posted April 13, 2021 Author Report Posted April 13, 2021 On 4/12/2021 at 5:06 AM, John Dowson said: Have you tried assigning to that event/parameter? Also maybe try the stable or vanilla version - I have had reports of different things working in different versions of the FBW mods. Maybe also check for lvars as these will be available shortly (via lua or macros), Yes, I did try that control event with parameter 6 and it does nothing in the simulator even with Asobo A320. Then I tried with paramter 0 and that just turns off everything in the cockpit but overhead panel buttons don't move at all. I will try your suggestion with different version of the mod. The thing is I tried fiddling around with your WASM Module but I couldn't figure out how to get LVARS and the thing is there is no documentation on it yet so I can't follow any guides as I am quite new to lvars. I will have a look around and try to gather some information on lvars, I hope someone can help you write a guide for the usage of WASM module. Regards
John Dowson Posted April 13, 2021 Report Posted April 13, 2021 11 minutes ago, waqar_mw said: Yes, I did try that control event with parameter 6 and it does nothing in the simulator even with Asobo A320. Then I tried with paramter 0 and that just turns off everything in the cockpit but overhead panel buttons don't move at all. I also noticed this in the 747. 12 minutes ago, waqar_mw said: The thing is I tried fiddling around with your WASM Module but I couldn't figure out how to get LVARS and the thing is there is no documentation on it yet so I can't follow any guides as I am quite new to lvars. I will have a look around and try to gather some information on lvars, I hope someone can help you write a guide for the usage of WASM module. There is an lvar (on the 747) for standby power: XMLVAR_StandbyPower_Selector. However, I've just tried this and it only seems to work switching between AUTO and BAT, and cannot switch to or from OFF. As for lvars in FSUIPC7, I have just released an early-access version with lvar support. For documentation on how to use lvars with FSUIPC7, you have to look at the FSUIPC6 documentation for the time being (and also have the WASM module installed - just download, unzip and move to your community folder, instructions on the WASM announcement page). I will be updating the documentation and the installer (to handle the WASM) in the coming days, and hope to release this as an official beta release later this week (or early next week).
waqar_mw Posted April 14, 2021 Author Report Posted April 14, 2021 14 hours ago, John Dowson said: I also noticed this in the 747. There is an lvar (on the 747) for standby power: XMLVAR_StandbyPower_Selector. However, I've just tried this and it only seems to work switching between AUTO and BAT, and cannot switch to or from OFF. As for lvars in FSUIPC7, I have just released an early-access version with lvar support. For documentation on how to use lvars with FSUIPC7, you have to look at the FSUIPC6 documentation for the time being (and also have the WASM module installed - just download, unzip and move to your community folder, instructions on the WASM announcement page). I will be updating the documentation and the installer (to handle the WASM) in the coming days, and hope to release this as an official beta release later this week (or early next week). I will try that with the A320 and see how lvar works and will give it a go maybe today and will post my results here so it may help anyone else looking out for the same problem. Thanks for your help, it is appreciated.
Pete Dowson Posted April 14, 2021 Report Posted April 14, 2021 6 hours ago, waqar_mw said: I will try that with the A320 and see how lvar works and will give it a go maybe today I'm afraid ASOBO have broken LVar access with the WU4 update yesterday. https://forums.flightsimulator.com/t/wasm-module-connection-broken-after-wu4/390841 https://forums.flightsimulator.com/t/standalone-wasm-modules-crash-the-simulator-after-latest-1-15-7-0-update/390552/4 Pete 1
John Dowson Posted April 14, 2021 Report Posted April 14, 2021 7 hours ago, waqar_mw said: I will try that with the A320 I think they work in the A320 without using lvars, but you may need the FBW mod or the MobiFlight event module (also via WASM), or probably both. Anyway, as WASM modules are broken in the current release, I can't check this for you at the moment (and I'm still downloading the latest update!). 1
waqar_mw Posted April 17, 2021 Author Report Posted April 17, 2021 On 4/14/2021 at 7:09 PM, John Dowson said: I think they work in the A320 without using lvars, but you may need the FBW mod or the MobiFlight event module (also via WASM), or probably both. Anyway, as WASM modules are broken in the current release, I can't check this for you at the moment (and I'm still downloading the latest update!). Yea, I am waiting on an update as well about WASM modules to be fixed. Thanks for your reply I will let you know how it goes.
Pete Dowson Posted April 18, 2021 Report Posted April 18, 2021 15 hours ago, waqar_mw said: I am waiting on an update as well about WASM modules to be fixed. I installed and tested yesterday's MSFS update, and the WASM loading problem is fixed. Everything works fine again. Pete 1
waqar_mw Posted April 18, 2021 Author Report Posted April 18, 2021 10 minutes ago, Pete Dowson said: I installed and tested yesterday's MSFS update, and the WASM loading problem is fixed. Everything works fine again. Pete Thanks Pete, I will give it a go either tonight or tomorrow.
Helibrewer Posted April 24, 2021 Report Posted April 24, 2021 To expand on this a bit. The X56 Throttle has a 3-position Mode switch. In FSUIPC, Mode 1 is read as B,14...Mode 2 as B,15...Mode 3 as B,16. I have also found that occasionally when switching from one mode to the other, they can be read as A,133; A,134; A,135 respectively. This seems random and I haven't figured out why yet. Anyway I would like to use flags for these modes so I can have any button perform 3 different functions depending on which of the modes flag is set. When FSUIPC and the sim first start I assume FSUIPC has no idea which position the Mode switch is in, so I am thinking I need to move the Mode switch out of it's current position after start-up and into (or back into) the position I want to use, and have that action set the selected position flag, and clear the other 2 flags. After that, any movement of the Mode switch would perform that same function each time (set current position flag, clear the other 2 flags). Does this make sense? Is there a more efficient way to do this? Thanks, Mike
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