I think it would be one of these fuel selector options to set it. If those don’t work, I can look into what we’d have to map to into simconnect
Thanks!
I managed to get it to work using FUEL_SELECTOR_ALL. However, in the interior.xml file of the aircraft I found out it uses
<FUEL_TANK_SELECTOR_POS_6>1</FUEL_TANK_SELECTOR_POS_6> <!-- CENTER -->
<FUEL_TANK_SELECTOR_POS_7>0</FUEL_TANK_SELECTOR_POS_7> <!-- CENTER_AUX -->
and using the FSUIPC log file I found out it sends the following commands when using the fuel selector in-game:
EVENT: Cntrl= 65962 (0x000101aa), Param= 6 (0x00000006) FUEL_SELECTOR_SET
EVENT: Cntrl= 65962 (0x000101aa), Param= 7 (0x00000007) FUEL_SELECTOR_SET
I looked in the list with P3D SimConnect Event IDs as shown below.
Since there’s no Event ID for a second center fuel tank, I figured I needed to use FUEL_SELECTOR_SET with a certain parameter. So, I looked in the code list below.
According to this one, I should use parameter 7, which corresponds to the values the XML and FSUIPC log files gave me.
The question is: where should this parameter go?? As I said, I couldn’t get it to work this way. I got it to work using FUEL_SELECTOR_ALL, but this seems strange, as you can’t select all fuel tanks at once in the aircraft.
It’s not a big deal, since it works. But as it’s a new simulator and I think the Stream Deck device is a very handy tool, I thought I’d chip in and try to help create some profiles for it! As such, learning how to properly use SimConnect would be very helpful!
The generic buttons in our plugin doesn’t allow using “SET” event with parameter yet. It is a nice feature to have to I’ll try to add it in.
Sorry I didn’t know that. Thanks for letting me know! Maybe some day…
This is awesome!!! I working on my new Stream Deck this is great, keep the nice work guys! I’m also a software engineer I hope can help on the project
Hi All,
I added the line
{ TOGGLE_VALUE.TURB_ENG_ITT, new ValueEntry(“Rankine”, 0) },
to the EventValueLibrary.cs file but I cannot get the value to display on a gauge. Existing entries show as would be expected so nothing wrong with my Stream Deck accepting input. Are there more steps I need to take than simply adding the definition as I have done?
There is a struct.cs file as well that holds the value enum for allowed entries. Add it there as well!
Thanks for the reply.
Amended the struct.cs but still not working. I will admit I’m pretty new at this and reading the code only gives me a basic understanding of what is going on. In other words I don’t know what I’m doing!
What’s that?
It’s a measurement unit listed in the SDK.
Ah wait, it indeed is
The reason it’s not working, is because according to the documentation you also need an index
So you need to define and add
TURB_ENG_ITT__1
if you want to access the value (and maybe do __2
to __4
while you’re at it )
I tried it with and without an index
I just purchased Streamdeck and saw your post, how do you get the actual icons for Nav, and text stuff to appear, please help me out as Id like to make buttons for Throttle IDLE, AP master, LOC, APR mode, ect. Thank you.
Have you checkout the User Guide yet Flight-Tracker-StreamDeck/USERGUIDE.md at master · nguyenquyhy/Flight-Tracker-StreamDeck (github.com).
Basically, we made some preset buttons for some AP functions, and a generic button to interact with SimConnect events and variables.
Yes I saw that but for instance how could I control gear? If I use the toggle key what do I type in for gear in the name, description ect down below for the button parameters ect. I wanna make one for gear, flaps up, flaps down, reversers, autothrottle disconnect ect. So I don’t have to use my keyboard again
For those functionality, you have to use the Generic Toggle Button. Take a look in the User Guide for the section on Generic Toggle Button, there is a table that explain each parameter that you need to fill in.
How do u get the nav/com working with the keypad ect I tried putting the button on the stream deck called nav&com but can’t get that one working either I’m working on the toggles now.
Hold the Nav/Com button will automatically switch you to a special numpad profile (if Stream Deck asks you to install custom profile, please click Yes). That doesn’t work with the Numpad mini though because it doesn’t have enough buttons.
Trying it now standby I tried pushing it earlier and holding and it did nothing.I installed the flight tracker mod above and drug the autopilot nav button over to stream deck but that’s all it did and never asked to install plugins