Jump to content
The simFlight Network Forums

Introducing Pilot's Deck, a StreamDeck Plugin


Fragtality

Recommended Posts

28 minutes ago, Fragtality said:

What about the Profile Switching Feature?Ā šŸ˜‰

Yep, that 's what I mean above by setting up Switch Profile buttons. Turns out you can use that to switch to a profile on another Stream Deck or the same one deck you are on.

Any thoughts on why I have to restart FSUIPC7 sometimes after the sim loads?

Al

Link to comment
Share on other sites

1 hour ago, ark1320 said:

Yep, that 's what I mean above by setting up Switch Profile buttons. Turns out you can use that to switch to a profile on another Stream Deck or the same one deck you are on.

Ehm, nope^^ That Feature switches Profiles automatically (after configured),Ā  so there is no Need for Elegato's Switch Profile Buttons šŸ˜‰

Ā 

1 hour ago, ark1320 said:

Any thoughts on why I have to restart FSUIPC7 sometimes after the sim loads?

No, it just works for me 99% of the Time.

Link to comment
Share on other sites

7 hours ago, Fragtality said:

Ehm, nope^^ That Feature switches Profiles automatically (after configured),Ā  so there is no Need for Elegato's Switch Profile Buttons šŸ˜‰

Great feature, but I am having trouble setting it up. I ran ImportProfiles.exe and entered the numbers for my two decks (Steam Deck+ and the 15 Key deck). But it is not clear to me what to do next.

-Ā Ā Ā  Do I need to drag and set up a profile switcher key for each profile (I have 4 total profiles,Ā  two on the + deck, and two on the 15 key deck. I have two planes and have a profile on each deck for each plane.

Ā Ā Ā  Your instructions refer to opening the Property Inspector ā€“ not sure what that is or how to open it.

-Ā Ā Ā Ā Ā Ā Ā Ā Ā  I do not see the imported profiles in the normal drop down profile list for either deck.

-Ā Ā Ā Ā Ā Ā Ā Ā Ā  My 4 profiles are named Ā C414+, HJET+ (for the + deck), and C414 CTL and HJET CTL for the 15 key deck.

-Ā Ā Ā Ā Ā Ā Ā Ā Ā  What goes in the boxes shown in the screenshots?

Ā Ā Ā  I also do not understand the use of "default" below. It seems every box I've pointed to is associated with "default".

Ā Ā  Thanks,

Ā  Al

Ā 

Ā 

Ā 

Screenshot_3.png

Screenshot_4.png

Link to comment
Share on other sites

Make sure you follow the Instruction from Top to Bottom!

Ā 

7 hours ago, ark1320 said:

Do I need to drag and set up a profile switcher key for each profile (I have 4 total profiles,Ā  two on the + deck, and two on the 15 key deck. I have two planes and have a profile on each deck for each plane.

No, it is global/unique. You can have as many of these Buttons as you want, but they all configure the same Thing / have the same Settings.

Ā 

7 hours ago, ark1320 said:

Your instructions refer to opening the Property Inspector ā€“ not sure what that is or how to open it.

The Area in the StreamDeck Software where you configure the Properties (Settings) of a Button. The Area you have in the Screenshots šŸ˜‰

Ā 

7 hours ago, ark1320 said:

I do not see the imported profiles in the normal drop down profile list for either deck.

Then you missed a Step or have done it out of order, check the Instructions.

Ā 

7 hours ago, ark1320 said:

Ā  Ā  Ā  Ā What goes in the boxes shown in the screenshots?

Ā  Ā  Ā  Ā I also do not understand the use of "default" below. It seems every box I've pointed to is associated with "default".

Well, the Preparation/Import failed somewhere, so your Profiles are not listed there. When done correctly, your Profiles should appear there as additional Input-Fields (for the respective Deck-Type). In these you enter the FSUIPC Profile's Name it should be mapped to. When that FSUIPC Profile is active, that StreamDeck Profile will be loaded on that Device.

The "Default" Profiles allow you to map any unmatched FSUIPC Profile to a Default StreamDeck Profile (when Use Default is enabled). This Default-Profile is already provided and included, but that can be changed also if needed. When Use Default is not enabled, the Plugin will not switch Profiles when no match is found.
Ā 

Link to comment
Share on other sites

5 hours ago, Fragtality said:

Well, the Preparation/Import failed somewhere, so your Profiles are not listed there

Tried it again and made some progress but it is still not working. Here is what I have in com.extension.pilotsdeck.sdPlugin\Profiles

Profiles.png.a0c1644b2beee82ce1cba7af58e21e06.png

The first 4 files are the ones I want to use to switch between the C414 and HJET planes using the SD+ and SD15key decks.

BTW should I see my other Pilot's Deck profiles listed here as well?

Here is what I got when I used the Profile Switcher control:

481964333_Switcher.png.1495c3e28a1c98e077176c544ad72498.png

Switcher19.png.9eb173ac063f458d7007ec2f4899d028.png

And I did get the popups asking if I wanted to load the profiles.

Ā 

Switcher19.png.9eb173ac063f458d7007ec2f4899d028.png

Ā 

But here is what I see in my overall Profiles list -- note none of the switching profiles show up.

Screenshot_3.png.452d113ce680ec968344e2dc3cee2f3c.png

SD_PlusProfiles19.png.c52198b97ff1f23b8c82b851ee40771e.png

Thanks for all the help!

Al

Link to comment
Share on other sites

41 minutes ago, ark1320 said:

BTW should I see my other Pilot's Deck profiles listed here as well?

No, only the ones configured/imported for Profile-Switching since these are the only one which the Plugin can switch to šŸ˜‰

Ā 

43 minutes ago, ark1320 said:

But here is what I see in my overall Profiles list -- note none of the switching profiles show up.

Sure they do - all with "Copy" appended. You missed the Step to remove them. So the Name and GUID are both wrong.

Link to comment
Share on other sites

1 hour ago, Fragtality said:

Sure they do - all with "Copy" appended. You missed the Step to remove them. So the Name and GUID are both wrong.

Just to clarify, the profiles in the lists above with copy in the name are "duplicates" I had made just to have a backup. The 4 switching profiles have slightly different names then what you set in the list. The SD Plus switching profiles have a + at the end of the name (C414+ and HJET+) to distinguish them from the other similar SD Plus profiles , and the 15Key switching profiles are C414 CTL and HJET CTL with no "S" on the end of the names to distinguish them from the other profiles.

Or have I missed the point again?

I did try loading the C414 but the profiles did not switch.

thanks,

Al

Link to comment
Share on other sites

Hmm, maybe you done some extra Steps or still missed some Steps?
Judging by the Screenshot the Names known/imported to PilotsDeck do not match the Profiles in the StreamDeck UI.

Please follow the Procedure:
- Disable Profile Switching (via the Button)
- Export your Profiles (for which Switching should be enabled) and Copy them to the mentioned Folder. If you want to Rename them, do so before the Export.
- Delete these exported Profiles (and to be sure their Clones) from the UI. The exported File saves the exact State of the Profile, so nothing is lost.
- Stop the StreamDeck Software
- Run the Importer
- Start the StreamDeck Software
- Enable Profile Switching and allow the Installation of the Profiles
- In the End there should be exactly one Instance of each Profile (with matching Names StreamDeck UI ==Ā Profile Switcher)

Also make sure you use the exact FSUIPC Profile Name in the Input Field. Even when the Profile Switching could work, it still won't do anything when the Name you entered can not be not matched to the current FSUIPC Profile. That the Plane/Livery is correctly associated with that FSUIPC Profile is assumed - the Plugin does not switch anything when FSUIPC is not switching anything šŸ˜‰Ā 

Link to comment
Share on other sites

4 hours ago, Fragtality said:

Enable Profile Switching and allow the Installation of the Profiles

Followed your instructions but this time I did no get the popup asking to install the profiles. I think I need to delete everything associated with profile switching and then start over. Can you tell me the locations where there is profile switching entries I can delete?

Thanks,

Al

Link to comment
Share on other sites

3 hours ago, Fragtality said:

Sorry, forgot to add:Ā 
- Untick the "Profiles Installed" Checkbox (after starting the StreamDeck SW again)

No problem.

Well, the good news is the switching profiles now show up in the profile drop down lists for the two decks and switching happens.Ā  šŸ™‚

Thanks for all the help!!

Al

Ā 

Link to comment
Share on other sites

On 4/24/2023 at 11:23 AM, Fragtality said:

*Version Bump*

Version 0.7.10

I'd like to increase the buttonĀ  "long press" time from 600ms to about 900ms to increase the difference between a normal (short) press and the long press. Is that something I could do?

For example, would changing one or both of these values in the PilotsDeck.dll.config file do that without introducing other problems?

Ā Ā Ā  <add key="waitTicks" value="150" />
Ā Ā Ā  <add key="longPressTicks" value="3" />

Thanks,

Al

Link to comment
Share on other sites

Theoretically you can change both, but I only recommend changing "longPressTicks". That is the exactly the amount of waitTicks used for the long press and is not used somewhere else. The waitTicks are also used at other locations (not related to Button Handling) and could change the Plugin Behavior in unknown Ways ^^

Link to comment
Share on other sites

4 hours ago, Fragtality said:

I only recommend changing "longPressTicks". That is the exactly the amount of waitTicks used for the long press and is not used somewhere else.

That's what I was thinking but the Property Inspector shows a long press starts at 600ms and 3 x 150 waitTicks = 450 so I was not sure. Ā  I assume the 150 waitTicks is milliseconds.

I did try setting the longPressTicks to a high value of 10 just as a test to see what would happen, but did not notice an difference in the long press. I restarted the SteamDeck app after making the change, maybe I need to reload the sim or restart the computer. When is the PilotsDeck.dll.config file read?

UPDATE:Ā  I restarted the computer and then did notice the change in the longpress.Ā  If the StreamDeck sw starts when the computer is loaded, then maybe that was the issue.

Thanks,

Al

Ā 

Link to comment
Share on other sites

43 minutes ago, ark1320 said:

That's what I was thinking but the Property Inspector shows a long press starts at 600ms and 3 x 150 waitTicks = 450 so I was not sure.Ā  Maybe the "missing" 150ms is to allow for some execution latency.Ā  I assume the 150 waitTicks is milliseconds.

I did try setting the longPressTicks to a high value of 10 just as a test to see what would happen, but did not notice an difference in the long press. I restarted the SteamDeck app after making the change, maybe I need to reload the sim or restart the computer. When is the PilotsDeck.dll.config file read?

UPDATE:Ā  I restarted the computer and then did notice the change in the longpress.Ā  If the StreamDeck sw starts when the computer starts, then maybe that was the issue.

Thanks,

Al

Ā 

Ā 

Link to comment
Share on other sites

3 hours ago, ark1320 said:

That's what I was thinking but the Property Inspector shows a long press starts at 600ms and 3 x 150 waitTicks = 450 so I was not sure. Ā  I assume the 150 waitTicks is milliseconds.

Oh yeah, sorry - got I myself wrong ^^
It is pollInterval x longPressTicks = Duration for Long (Default 200ms x 3 = 600ms)
Ā 

Ā 

3 hours ago, ark1320 said:

I did try setting the longPressTicks to a high value of 10 just as a test to see what would happen, but did not notice an difference in the long press. I restarted the SteamDeck app after making the change, maybe I need to reload the sim or restart the computer. When is the PilotsDeck.dll.config file read?

Everytime the Plugin starts - so stopping the StreamDeck Software and starting it again should be enough

  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

Somehow one of my profiles has become associated with the MSFS program so as soon as the sim begins to load StreamDeck switches to that profile even though when I click on that profile in the StreamDeck user interface window which associates a profile with an application, the application field shows None.Ā  Do you happen to know where that profile - application association is stored in the StreamDeck software or have an idea on how I can remove this association?

Thanks,

Al

Link to comment
Share on other sites

Thank you for your reply.

I do use profile switching, but Use Default is not selected. In addition for testing I have disabled FSUIPC7.exe and FSUIPC7.ini by renaming these files, so I would think that would eliminate a profile switching problem.

I think in the past I did associate the problem profile with MSFS, a mistake, and then tried to undo that by assigning the profile to None, but apparently the MSFS association still exists somewhere.

Profile switching does work correctly in that if FSUIPC7 is enabled, eventually the correct profile is loaded. I'm just trying to determine why the unwanted profile loads at allĀ  in place of my default profile.

Al

Link to comment
Share on other sites

14 minutes ago, ark1320 said:

In addition for testing I have disabled FSUIPC7.exe and FSUIPC7.ini by renaming these files, so I would think that would eliminate a profile switching problem.

What should that have helped? It effectively kills the whole Functionality of the Plugin.

Ā 

16 minutes ago, ark1320 said:

I think in the past I did associate the problem profile with MSFS, a mistake, and then tried to undo that by assigning the profile to None, but apparently the MSFS association still exists somewhere.

Don't know ... never used that. Does not make Sense for me for a Flightsim (with different Planes and therefore Profiles) - the Reason I build in the Profile Switching Feature ^^

Ā 

18 minutes ago, ark1320 said:

Profile switching does work correctly in that if FSUIPC7 is enabled, eventually the correct profile is loaded. I'm just trying to determine why the unwanted profile loads at allĀ  in place of my default profile.

What does "eventually" mean? The Profile Switching should happen when the Session is ready and the current FSUIPC Profile matches an associated StreamDeck profile (in the Profile Switcher Action)

Link to comment
Share on other sites

19 minutes ago, ark1320 said:

Ā  Maybe I need to completely undo the profile switching and then go through the complete process of setting that up again.

Al

Don't forget to save the Profiles before that. The Profiles are just imported from the \Profiles Subfolder, but they are not updated if you change them afterwards in the StreamDeck Software.

Link to comment
Share on other sites

5 minutes ago, Fragtality said:

What does "eventually" mean? The Profile Switching should happen when the Session is ready and the current FSUIPC Profile matches an associated StreamDeck profile (in the Profile Switcher Action)

Yes, this seems to work. I load my flights directly onto the runway and that is when the correct profile loads.Ā  But my default profile, which used to be loaded until that time, only loads for a short time before being replaced by the unwanted profile.

Ā 

13 minutes ago, Fragtality said:

What should that have helped? It effectively kills the whole Functionality of the Plugin.

The point is I'm trying to isolate the problem to the plugin or to a StreamDeck bug of some kind.

Al

Link to comment
Share on other sites

Ā Figured it out -- silly mistake on my part. I misinterpreted the symbol StreamDeck uses to indicate a profile is assigned to MSFS. But strangely, when I clicked on that profile None was indicated as far as an assigned application is concerned. I wonder if there might be a conflict between a profile named C414+ (that was not assigned and was the one I wanted to use) and one named C414 Plus which somehow had been assigned to MSFS?

Al

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
×
×
  • 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.