Sergiohst Posted August 22, 2021 Report Posted August 22, 2021 Hi! I'm trying to control brightness with a physical potentiometer, but did not found the way... There is a thing called project magenta that uses fsuipc and in their docs about fsuipc (Project Magenta FSUIPC Offsets - Project Magenta) found that offset 55F0 can control some of these: I wrote some code to test it : byte[] bytes = { 100, 100, 100, 100, 100, 100,0,0 }; new Offset<Double>(0x55F0).SetValue(BitConverter.ToDouble(bytes, 0)); but it doesn't work... also found that : FSUIPCConnection.SendControlToFS(FsControl.PANEL_LIGHTS_SET, 10) that changes the AP PANEL light, this is working. any ideas?? Thanks!!
John Dowson Posted August 22, 2021 Report Posted August 22, 2021 I can't really help with Project Magenta - please use their support as a first port of call for this. Also, to control the A32NX, if using the FBW version, you should also use the FBW support/discord channel. However, you could also try activating logging (for Events and maybe also Axis Controls) and change the lights in the sim (via the UI) to see what events, if any, are logged, or what lvar values change, and then try assigning to those. There are various Light Potentiometer controls/events available in MSFS that you can also try, e.g.: Quote 66914 LIGHT_POTENTIOMETER_10_SET 67029 LIGHT_POTENTIOMETER_11_SET 67030 LIGHT_POTENTIOMETER_12_SET 67031 LIGHT_POTENTIOMETER_13_SET 67032 LIGHT_POTENTIOMETER_14_SET 67033 LIGHT_POTENTIOMETER_15_SET 67034 LIGHT_POTENTIOMETER_16_SET 67035 LIGHT_POTENTIOMETER_17_SET 67036 LIGHT_POTENTIOMETER_18_SET 67037 LIGHT_POTENTIOMETER_19_SET 66905 LIGHT_POTENTIOMETER_1_SET 67038 LIGHT_POTENTIOMETER_20_SET 67039 LIGHT_POTENTIOMETER_21_SET 67040 LIGHT_POTENTIOMETER_22_SET 67041 LIGHT_POTENTIOMETER_23_SET 67042 LIGHT_POTENTIOMETER_24_SET 67043 LIGHT_POTENTIOMETER_25_SET 67044 LIGHT_POTENTIOMETER_26_SET 67045 LIGHT_POTENTIOMETER_27_SET 67046 LIGHT_POTENTIOMETER_28_SET 67047 LIGHT_POTENTIOMETER_29_SET 66906 LIGHT_POTENTIOMETER_2_SET 67048 LIGHT_POTENTIOMETER_30_SET 66907 LIGHT_POTENTIOMETER_3_SET 66908 LIGHT_POTENTIOMETER_4_SET 66909 LIGHT_POTENTIOMETER_5_SET 66910 LIGHT_POTENTIOMETER_6_SET 66911 LIGHT_POTENTIOMETER_7_SET 66912 LIGHT_POTENTIOMETER_8_SET 66913 LIGHT_POTENTIOMETER_9_SET 66895 LIGHT_POTENTIOMETER_DEC 66894 LIGHT_POTENTIOMETER_INC 67227 LIGHT_POTENTIOMETER_SET However, at the moment only the Light Potentiometer Set control is currently flagged (in FSUIPC7) as an axis control, so the others cannot currently be used to assign to an axis. You can try the others by setting them to a key or button press, with an appropriate parameter, and I can update to allow them to be assigned to an axis if needed - I'll do this anyway as they are axis controls. John
Sergiohst Posted August 24, 2021 Author Report Posted August 24, 2021 Hi ! No events are rised and I've tested to set all LIGHT_POTENTIOMETERS , some does things with some plane lights but not the instruments brightness. I will ask for help in FBW Discord, will post results here if any Thanks John!!
John Dowson Posted August 24, 2021 Report Posted August 24, 2021 Ok. You can also try listing the available lvars to see if any of them stand out (from Add-ons->WASM->List Lvars menu entry).
Sergiohst Posted August 24, 2021 Author Report Posted August 24, 2021 Yes, I've checked all Lvars and offsets and there is no way. In FBW support chat someone answered with: " I've asked a similar question twice already and never got an answer. So I assume it means "not possible". " maybe in a future release.... will post here if there are news. Thanks!
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