Jump to content

Introducing Pilot's Deck, a StreamDeck Plugin


Fragtality
 Share

Recommended Posts

*Version Bump*

Version 0.7.10

  • Fixed: DataRefs containing only 1 Character long Names where not recognized (The first Name in the Path still needs to be at least 2 Character long!)
  • Fixed: Offset-Addresses where sometimes registered as L-Var (and thus a L-Var with that Name was created)
  • Fixed: Links in the Installer pointed to the wrong minimum .NET Version (listed for completeness, was already fixed in the 0.7.9 Binary after the 3rd April)
  • Thanks 1
Link to comment
Share on other sites

  • 4 weeks later...
On 4/24/2023 at 11:23 AM, Fragtality said:

*Version Bump*

Version 0.7.10

  • Fixed: DataRefs containing only 1 Character long Names where not recognized (The first Name in the Path still needs to be at least 2 Character long!)
  • Fixed: Offset-Addresses where sometimes registered as L-Var (and thus a L-Var with that Name was created)
  • Fixed: Links in the Installer pointed to the wrong minimum .NET Version (listed for completeness, was already fixed in the 0.7.9 Binary after the 3rd April)

 

Great program -- many thanks!

While setting up a Stream Deck + dial stack in MSFS with a Display Value with Switch  I ran into a problem because the variables

(A:AUTOPILOT VERTICAL HOLD VAR, feet/minute)  [ also tried (A:AUTOPILOT VERTICAL HOLD VAR, feet per minute)]

and

(A:AUTOPILOT AIRSPEED HOLD VAR, Knots)

where not recognized in the variable address field.  The tool tip said "Please match the requested format".  I have not been able to figure out what is wrong. These variables are from the MSFS SDK.  I had no problem setting up two other similar encoders.

 

Here is the entries for the Vertical Speed part:

image.png.ac743fbee0e1eabe2ac9a22d98358bfc.png

image.png.1dc7cab06b827b5d07050caad3b06f49.png

image.png.e4b37dd5c8fd3bb7e3b14a686bb9f3d3.png  This is the rest of the variable entry

I also was unable to set up a button Display Value because again the variable was not recognized by Pilot's Deck.

I am using FSUIPC7 ver 7.3.20 and Pilot's Deck ver 0.7.10.

Thanks for any suggestions.

Al

 

Link to comment
Share on other sites

So you could sort it out?

The Syntax-Checking in the UI is more an Assistance for the User - the "real" and thorough Syntax-Checking happens later on Execution. So it is still worth trying if it works even when the UI shows an Error there.

But it could still be that some Corner-Cases for the A-Vars are not covered, though. For Example, I don't know if the current Check allows a Slash ("/") in the Unit-Type tbh!

Link to comment
Share on other sites

1 hour ago, Fragtality said:

So you could sort it out?

Finally just got it to work. I learned you have to ignore the little white round edit symbol in the variable field -- just keep typing. Trying to move the edit symbol out of the way to "make space" for typing the rest of the variable I think was a problem.  And I think the slash was also an issue. I ended up using "feet per minute".

Thanks again for an excellent plugin!

Al

 

Link to comment
Share on other sites

You're welcome 🙂

Yeah I tried to move the Check-Symbols out of the Input-Fields ... but either I don't understand what "CSS-Magic" is required for that or it is just not possible with the StreamDeck-UI 😕

Link to comment
Share on other sites

1 hour ago, Fragtality said:

You're welcome 🙂

Yeah I tried to move the Check-Symbols out of the Input-Fields ... but either I don't understand what "CSS-Magic" is required for that or it is just not possible with the StreamDeck-UI 😕

Seems if you just keep typing and ignore the location of the Ckeck-Symbols it works, so all good.

I'd like to assign a key (or key combination) to a Stream Deck + button, but don't see how to do that.  This would allow executing a default MSFS key control binding with a Stream Deck + button.

I could certainly do this using the standard Stream Deck "Hotkey" assignment, but wanted to take advantage of Pilot's Deck capability to send a second keystroke using the long press option. If I can't send a keystroke directly using Pilot's Deck, I could use tiny Lua scripts to send the keycodes and then use Pilot's Deck to call the scripts, but that's seems like a cumbersome solution.

Thanks,

Al

Link to comment
Share on other sites

You don't and can't assign Keyboard-Keys and Joystick-Buttons in the first Place (in the Plugin). You tell the StreamDeck Button (respectively the PilotsDeck Action that is on that Button) what you want to send to the Simulator by the different Ways possible. Roughly spoken, the Plugin sends the Events directly to the Simulator, not by emulating Key-Inputs or Joystick-Inputs.

I'd recommend to consult Chapter 2.1 of the Readme. For MSFS the Action-Types Control, Calculator or HVar might do the Trick.

Link to comment
Share on other sites

2 hours ago, Fragtality said:

I'd recommend to consult Chapter 2.1 of the Readme. For MSFS the Action-Types Control, Calculator or HVar might do the Trick.

OK, I understand.

I'm familiar with sim XML coding, so I used calculator code with a simple button to either toggle autopilot Approach (short press) or BC (long press) on and off.

Thanks,

Al

Link to comment
Share on other sites

Uhm okay, so if you even know how to write RPN Code - I don't really what your initial Question is about to be honest 😕
Because with that Knowledge I'd assume the available Action-Types would directly mean something to you.

Maybe try to rephrase that:

On 5/23/2023 at 8:07 PM, ark1320 said:

I'd like to assign a key (or key combination) to a Stream Deck + button, but don't see how to do that.  This would allow executing a default MSFS key control binding with a Stream Deck + button.

 

Link to comment
Share on other sites

22 hours ago, Fragtality said:

Maybe try to rephrase that:

No, rephrase it for what purpose at this point? It was just a beginner's mistake and maybe seeing that will help someone else. I'm brand new to both Stream Deck and Pilot's Deck, and as a start for a couple of days had been assigning "hot keys" to buttons using the standard Stream Deck capability. So that was my first thought with Pilot's Deck. As I learn more both about Stream Deck and Pilot's Deck I get a little "smarter" in how to use them. 😉

Link to comment
Share on other sites

Ah okay, I thought your Question / Issue would still be open or unanswered. But if everything is fine now, you're right - would not really serve a Purpose to rephrase the Question 😅

  • Upvote 1
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.