Code Monkey home page Code Monkey logo

streamdeck-elite's People

Contributors

keathmilligan avatar mhwlng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

streamdeck-elite's Issues

Question: What does the static button "Codex" refer to?

Hi,
i stumbled upon this static button while setting up my stream deck for Elite: Dangerous.
I´m assuming this links to the Codex-page in the right cockpit panel, but i can´t get it to work.
I can´t find a corresponding setting in the E:D options>control settings to assign a keybinding to.

Edit: As i digged further, another question arose: Why are there double Static buttons (e.g. Nightvision ON|OFF) when there are Toggle buttons with the same functionality?

Any help in this regard is much appreciated.
Thx for making this awesome tool.

No buttons work

Have created the profiles as per the docs, but not of the configured options seem to do anything
My bindings file:
HCS T16000MHOTAS.3.0.zip
My manifest .json

{
  "Actions": [
    {
      "Icon": "Images/icon",
      "Name": "Alarm Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Alarm Button",
      "UUID": "com.mhwlng.elite.alarm",
      "PropertyInspectorPath": "PropertyInspector/Elite/Alarm.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "FSS Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous FSS Button",
      "UUID": "com.mhwlng.elite.fss",
      "PropertyInspectorPath": "PropertyInspector/Elite/FSS.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Hyperspace Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Hyperspace Button",
      "UUID": "com.mhwlng.elite.hyperspace",
      "PropertyInspectorPath": "PropertyInspector/Elite/Hyperspace.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Limpet Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Limpet Controller Button",
      "UUID": "com.mhwlng.elite.limpet",
      "PropertyInspectorPath": "PropertyInspector/Elite/Limpet.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Power Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Power Distributor Button",
      "UUID": "com.mhwlng.elite.power",
      "PropertyInspectorPath": "PropertyInspector/Elite/Power.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Static Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": true,
      "Tooltip": "Elite Dangerous Static Button",
      "UUID": "com.mhwlng.elite.static",
      "PropertyInspectorPath": "PropertyInspector/Elite/Static.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Repeating Static Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Repeating Static Button",
      "UUID": "com.mhwlng.elite.repeatingstatic",
      "PropertyInspectorPath": "PropertyInspector/Elite/RepeatingStatic.html"
    },
    {
      "Icon": "Images/icon",
      "Name": "Toggle Button",
      "States": [
        {
          "Image": "Images/Default",
          "TitleAlignment": "bottom",
          "FontSize": "8"
        }
      ],
      "SupportedInMultiActions": false,
      "Tooltip": "Elite Dangerous Toggle Button",
      "UUID": "com.mhwlng.elite",
      "PropertyInspectorPath": "PropertyInspector/Elite/Toggle.html"
    }
  ],
  "Author": "mhwlng",
  "Description": "Elite Dangerous Buttons",
  "Name": "Elite Dangerous",
  "Icon": "Images/pluginIcon",
  "URL": "https://github.com/mhwlng/streamdeck-elite",
  "Version": "2.3.2",
  "CodePath": "com.mhwlng.elite",
  "Category": "Elite Dangerous",
  "CategoryIcon": "Images/categoryIcon",
  "OS": [
    {
      "Platform": "windows",
      "MinimumVersion": "10"
    }
  ],
  "SDKVersion": 2,
  "Software": {
    "MinimumVersion": "4.6.1"
  },
  "Profiles": [
    {
      "Name":"Elite Dangerous Main",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":false
    },
    {
      "Name":"Elite Dangerous GalaxyMap",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":true
    },
	    {
      "Name":"Elite Dangerous SystemMap",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":true
    },
	    {
      "Name":"Elite Dangerous CargScoop",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":true
    },
	    {
      "Name":"Elite Dangerous SrvTurret",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":true
    },
	    {
      "Name":"Elite Dangerous Hardpoints",
      "ReadOnly":true,
      "DeviceType":0,
      "DontAutoSwitchWhenInstalled":true
    }
	

  ]  
}

My Main profile:
Elite Dangerous Main.zip

Plugin log:

2021-03-22 17:36:38.8312|DEBUG|com.mhwlng.elite|1|Logger Initialized
2021-03-22 17:36:38.8832|INFO|com.mhwlng.elite|1|Init Elite Api
2021-03-22 17:36:39.0098|INFO|com.mhwlng.elite|1|monitoring key binding path #1 C:\Users\jimmy\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings
2021-03-22 17:36:39.0098|INFO|com.mhwlng.elite|1|monitoring key binding file name #1 StartPreset.start
2021-03-22 17:36:39.3578|INFO|com.mhwlng.elite|1|monitoring key binding path #2 C:\Users\jimmy\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings
2021-03-22 17:36:39.3698|INFO|com.mhwlng.elite|1|monitoring key binding file name #2 HCS T16000MHOTAS.3.0.binds
2021-03-22 17:36:39.3888|INFO|com.mhwlng.elite|1|journal path C:\Users\jimmy\Saved Games\Frontier Developments\Elite Dangerous
2021-03-22 17:36:40.1989|INFO|com.mhwlng.elite|1|Profile Found : Elite Dangerous Main for StreamDeckClassic
2021-03-22 17:36:40.1989|INFO|com.mhwlng.elite|1|Profile Found : Elite Dangerous GalaxyMap for StreamDeckClassic
2021-03-22 17:36:40.2199|INFO|com.mhwlng.elite|1|Profile Found : Elite Dangerous SystemMap for StreamDeckClassic
2021-03-22 17:36:40.2329|INFO|com.mhwlng.elite|1|Profile Found : Elite Dangerous SrvTurret for StreamDeckClassic
2021-03-22 17:36:40.2449|INFO|com.mhwlng.elite|1|Profile Found : Elite Dangerous Hardpoints for StreamDeckClassic
2021-03-22 17:36:40.2979|INFO|com.mhwlng.elite|1|Plugin [com.mhwlng.elite] Loading - 8 Actions Found
2021-03-22 17:36:40.5429|INFO|com.mhwlng.elite|1|Plugin version: 2.3.2
2021-03-22 17:36:40.5569|INFO|com.mhwlng.elite|1|Connecting to Stream Deck
2021-03-22 17:36:43.6460|INFO|com.mhwlng.elite|1|Connected to Stream Deck
2021-03-22 17:36:43.6588|INFO|com.mhwlng.elite|1|GlobalSettingsManager initialized
2021-03-22 17:36:59.6867|DEBUG|com.mhwlng.elite|1|switch profile Main to Elite Dangerous Main for StreamDeckClassic

Automatic profile switching does not happen anymore

Hi!

At first everything worked great. Even the new Supercruise, InWing profiles. After that I started to create other - non ED - profiles and set one as a default one, installed/uninstalled other plugins, etc. Ever since the automatic profile switching does not happen anymore.

I even associated the ED Main profile with Elite Dangerous: Odyssey application but it does not even switch to that when I'm starting the game.

Is there any restriction on how these profiles should work? Should I not install any other plugins/profiles?

pluginlog.log

Supercruise/Hyper Jump not working

I've tried multiple functions such as the Hyperspace button, Static button and set it to Hyper Drive and Super Cruise and it doesn't work. Everything else does.

Elite Dangerous Buttons Failure

Hi mhwlng,

Big fan of the application. While everything in game seems to be working fine (with the exception of me getting profiles to export read only) I've noticed that the program is occasionally crashing silently in the background or having problems. Any advice you might be able to give me in hunting down what's going on would be very much appreciated. Let me know if there is any other information I can provide and I'd be happy to. One of several logs follows:

`Source
Elite Dangerous Buttons

Summary
Stopped working

Date
‎10/‎20/‎2020 11:31 PM

Status
Report sent

Description
Faulting Application Path: C:\Users\Illus\AppData\Roaming\Elgato\StreamDeck\Plugins\com.mhwlng.elite.sdPlugin\com.mhwlng.elite.exe

Problem signature
Problem Event Name: CLR20r3
Problem Signature 01: com.mhwlng.elite.exe
Problem Signature 02: 2.2.4.0
Problem Signature 03: d11ff0b3
Problem Signature 04: System.Drawing
Problem Signature 05: 4.8.3752.0
Problem Signature 06: 5c7a23f7
Problem Signature 07: 341
Problem Signature 08: 0
Problem Signature 09: System.InvalidOperationException
OS Version: 10.0.18363.2.0.0.768.101
Locale ID: 1033
Additional Information 1: 2beb
Additional Information 2: 2beba6fb4680d73a8c78ca7c24ccdb46
Additional Information 3: a7ac
Additional Information 4: a7ac965a9f5121c1f7a54c1e163698dc

Extra information about the problem
Bucket ID: ef937441b3312deebcbe73d5ebe22f09 (2071220241259704073)
`

Matt

Streamdeck Software Forgets/Can't see Plugin After Changes to Manifest

mhwlng

    Just like the title says. The Streamdeck software doesn't recognize the plugin after I make the necessary changes to the manifest to allow for automated profile changes.

    My first step was to create my button layouts and all profiles I needed. There were 4 all together including "Elite Dangerous Main XL". I exported all profiles into "C:\Users\AppData\Roaming\Elgato\StreamDeck\Plugins\com.mhwlng.elite.sdPlugin".

    Second,  I made my changes to the manifest. You should be able to see this bellow...

....
....
"SDKVersion": 2,
"Software": {
"MinimumVersion": "4.6.1"
},
"Profiles": [
{
"Name":"Elite Dangerous Main XL",
"ReadOnly":true,
"DeviceType":2,
"DontAutoSwitchWhenInstalled":false
},
{
"Name:Elite Dangerous landing Gear XL",
"ReadOnly":true,
"DeviceType":2,
"DontAutoSwitchWhenInstalled"true
},
{
"Name:"Elite Dangerous Hardpoints XL",
"ReadOnly":true,
"DeviceType":2,
"DontAutoSwitchWhenInstalled"true
},
{
"Name:"Elite Dangerous Cargo Scoop XL",
"ReadOnly":true,
"DeviceType":2,
"DontAutoSwitchWhenInstalled"true
}
]
}

    Third step I deleted the profiles in the Streamdeck software and closed the program via the windows taskbar menu in the bottom right and launched the program again. This is where the problem arose. When I opened the Streamdeck software I was not automaticly prompted to "Install profiles from plugin" so I selected "More Actions" in the bottom right of the window, scrolled throughout the list of plugins, and the Elite Dangerous Plugin wasn't in the list.

    I have tried deleting the appdata Elite Dangerous plugin folder, reinstalling the plugin and pasting from a backup the 4 exported profiles and manifest. However, this results in the same issue of the plugin "not being found" by the Streamdeck software.

    I doubt this is a problem with the plugin itself or even the stream deck software. I'm more keen to believe this is a problem with my pore instruction following skills LOL and having no knowledge of coding. I realize this my be silly mistake on my end but I'm so excited to use this great tool you have created and I would greatly appreciate any help you might be able to provide. 

Zach

images are not part of release package

Hello,
First of all, thank you for this great work !

I managed to get the previous version (1.7.0) running on my stream deck xl. But no images were available, so I've downloaded the source code, copied the images from the image folder and pasted it next to the icons in %appdata%\Elgato\StreamDeck\Plugins\com.mhwlng.elite.sdPlugin\Images. Doing this made it work like a charm.

To install the current release (1.8.0), here is the process I went through:

  • stopped the elgato app
  • removed the old extension folder
  • started the elgato app
  • installed (double click) on the installation package

Result:

  • all keys in the stream deck now show a question mark
  • there is no images in the release 1.8.0 package either
  • the actions still works (eg: I can toggle my lights as before)

Expected result:

  • the image are in the release package
  • I don't get question mark for each action of this plugin (due to missing images).

Again, thank you for the great work

Elite not accepting button presses

HI 👍

Everything on the Elgato seems to work, log files show the mhwlng power buttons etc being pressed. But.. Elite does nothing.

I tested iusing notepad++, all button presses show as being active,

Yes I have the latest. 'Custom' is in the presets.

It's really weird and a little annoying. I even wrote a program to watch the log file and it shows every press I make. It's just Elite that appears to ignore them.

Any help much appreciated. Oh! Yes, when I press the L key for example; Landing gear drops, the elgato icon changes. If I press The elgato key, nothing happens and nothing changes.

cheers

Ben

No images loading, buttons not working

Hi there,

I downloaded and installed, but whenever I try to configure any buttons on my stream deck I'm just getting the question mark, and when I go in-game and press the buttons nothing's happening.

Important to note, I did notice when I try and configure the images it says "C:\fakepath\C%3A%2...." instead of the directory my images are actually stored in.

FATAL errors from pluginlog.log:

2020-07-06 20:32:29.1402|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:29.1552|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:29.1678|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.FSS - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.FSS..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:33.7780|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext()

Support for StreamDeckMobile

The software currently only supports:

            FindProfiles(DeviceType.StreamDeckClassic, manifest);
            FindProfiles(DeviceType.StreamDeckMini, manifest);
            FindProfiles(DeviceType.StreamDeckXL, manifest);

            FindProfiles(DeviceType.StreamDeckPlus, manifest);

Please add support for StreamDeckMobile too.

Not every flag implemented as a possible profile

Hi!

I noticed that here: https://github.com/mhwlng/streamdeck-elite/wiki/Automatic-Profile-Switching
not every profile mentioned that is possible in the status.json as flags. (https://elite-journal.readthedocs.io/en/latest/Status%20File/)

Especially I'd like to have a profile for supercruise and in wing because for the smaller stream deck there's just not enough space to put every option on it, so I'd divide them up to different profiles/modes the game is in.

ED will not acknowledge any commands

Thanks for designing a awesome plugin but Elite will not acknowledge any commands given the Log is below

2020-04-21 16:45:22.1787|DEBUG|BarRaider.SdTools.Logger|Logger Initialized
2020-04-21 16:45:22.2118|INFO|BarRaider.SdTools.Logger|Init Elite Api
2020-04-21 16:45:22.2118|INFO|BarRaider.SdTools.Logger|journal path C:\Users\User\Saved Games\Frontier Developments\Elite Dangerous
2020-04-21 16:45:22.8379|FATAL|BarRaider.SdTools.Logger|Elite Api: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dion\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\StartPreset.start'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at Elite.Program.Main(String[] args)
2020-04-21 16:45:22.8469|INFO|BarRaider.SdTools.Logger|Plugin Loading - 3 Actions Found
2020-04-21 16:45:23.0069|INFO|BarRaider.SdTools.Logger|Plugin version: 1.6.0
2020-04-21 16:45:23.0069|INFO|BarRaider.SdTools.Logger|Connecting to Stream Deck
2020-04-21 16:45:25.0544|INFO|BarRaider.SdTools.Logger|Connected to Stream Deck
2020-04-21 16:45:25.0544|INFO|BarRaider.SdTools.Logger|GlobalSettingsManager initialized
2020-04-21 20:11:17.2761|INFO|BarRaider.SdTools.Logger|Disconnect event received
2020-04-21 20:11:17.2761|INFO|BarRaider.SdTools.Logger|Plugin Disconnected - Exiting

Thanks

CMDR
log.000.log

Mapping to some numpad keys (/*-+) does not work

I found some keys not working that I mapped to numpad multiply, divide , add and substract.
In the logfile there is an exception:
Requested value 'DIKNUMPADDIVIDE' was not found.
Requested value 'DIKNUMPADMULTIPLY' was not found.
Requested value 'DIKNUMPADADD' was not found.
while trying to parse the string to enum DirectInputKeyCode.

Must be caused by these keys are actually called DikMultiply, DikDivide, DikSubtract, DikAdd in the used enum.

P.S. Thanks for developing this plugin and making it freely available for us, greatly appreciated!

Buttons not working

Hey, Its really great to see some integration with Elite Dangerous, Have been meaning to get back into the game! however, none of the buttons are working with elite dangerous, Everything changes as it should but when anything is pressed on the Elgato Stream Deck nothing actually happens.

I have tried changing the button preset config from, "keyboard" , "Keyboard & Mouse" etc, i dont have my Sim controls plugged in yet but , any idea? would be great!

process causing wakelock

The Elite Dangerous Buttons (32 bit) process keeps the system awake.
There is some audio playback in the app that opens an audio stream but never closes it.
image

This does not happen if you start the system and NOT press any buttons. Once you press a button that has audio attached, you get an indefinite wakelock. Terminating the process is the only way to fix it. After terminating the process:
image

The app should not keep an audio stream open after it has played a sound.

Autoswitch "back to main" ?

Hi there,
I tried the profile switching. It switched perfectly to the Map-Profiles. But when i leave the map, it won't switch back to main.
Did i missed something?
Thx for your efford,
CMDR Andechs
pluginlog.log

Icons vs State

I'm attempting to add icons and understand the difference between "Engaged, Enabled, and Disabled" when applying icons.

I.E. If i am adding supercruise or Hyperspace Jump icons, I have "jump alarm, jump off, and jump on"

where would these apply in correlation to engaged enabled and disabled?

Feture Request: Elgato Multi Action Compatibility

Would it be possible to add compatibility for Elgato's Multi Action Button?
I have already confirmed with Elgato that custom plugins are able to be used with the button, however they need to be programmed to be compatible.
The though behind this is to allow the player to get combat ready from one button press after interdiction i.e. Activate combat mode -> deploy hardpoints -> target enemy -> issue fighter commands ect.
Really appreciate your hard work on the plugin.

Buttons not responding to input

Hi!

I just received my Stream Deck and have download/installed your program. Unfortunately I'm unable to get any of the actions associated to a function.

It appears, from the attached log file, that it's not finding a specific binds file.

  • Stream Deck software version - 5.0.0.14247
  • Firmware version - 1.00.008
  • Stream Deck-Elite version - 2.3.7

Let me know if you need any additional information.

Thank you in advance for your assistance.

pluginlog.log

FSS Button not working

Hello,

i am trying to use the FSS button, but it doesn't work. I think it's because i am using a german qwertz keyboard and it is bound to the "umlaut" "ä".
Plugin log error:
2021-12-23 22:55:25.1952|FATAL|com.mhwlng.elite|6|ExtractKeyStrokes Exception: System.ArgumentException: Der angeforderte Wert "DIKÄ" konnte nicht gefunden werden.
bei System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
bei System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
bei System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
bei Elite.CommandTools.ExtractKeyStrokes(String macroText)

Sorry about the german text.

Binding is:



Is there a way to get it to work?
Also there are two other umlaute, ö and ü.

Thank you very much for your help in advance :D

SRV: Toggles buggy

Hey @mhwlng and first of all great job on this fantastic Plugin for the Stream Deck!

I'd like to address two issues with the current Release that focus on toggle functions while being in the SRV.

SRV Cargo Scoop

Expected Behaviour:
-> Toggle Button for Cargo Scoop (used on the ship) should deploy Cargo scoop for SRV, as there is no dedicated SRV Cargo Scoop Option available (referring to the Cargo Scoop Keybind under Driving Miscellaeneous)
Actual Behaviour:
-> Does not Deploy or Retract SRV Cargo Scoop, but it correctly indicated the actual state of the scoop.

SRV Lights

Expected Behaviour:
-> Toggle Button for Lights should toggle the (head-)lights on the SRV. (Referring to the keybind Headlights under Driving)
Actual Behaviour:
-> It correctly indicates the on/off state of the lights, regardless of the third state. (Full Beam/DippedBeam)-On/(Off)-Off

If you feel comfortable with some additions, I can check out how I can contribute best to solve this issue and maybe add some useful funcationality. :)

Best Regards

some binds don't look like their reading

just started using it, pretty awesome work i really like it, but some of the binds don't seem to be being read as i try to use super cruise or FSD or even my throttle % markers none of them work. cheers

Image files are not integrated in the profile, but simply linked

When selecting images to decorate the buttons, they are linked instead of being copied in the profile folder like in the default streamdeck buttons (and all the other plugins I've seen).
The net result is that, if I export my profile for a friend, the images will be missing.
Also, I cannot delete the folder where I stored the images, else the profile will be incomplete.

image

Power Button does not reliably work as expected wenn pressing long

If pressing a power button long it is intended to set the power distributor to 4 pips. This does not always work as expected when not starting from reset position.

How to reproduce:

  1. Reset power distributor
  2. Press a power button long to get 4 pips
  3. Press another power button long to get 4 pips
  4. In this state one power button has zero pips. Pressing this power button long will set the power distributor only to 3 Pips

There are other ways to reproduce, but this is the easiest to describe.

[Idea] Animated GIF-Support

I would like to have flashy Bottons if a System needs some
attention like Overhead-Warning.
That would be nice

Streamdeck-elite disappears after restarting Stream Deck

Followed instructions to setup Automatic Profile Switching in v. 2.0.2, on restarting Stream Deck after modding manifest.json and deleting profiles, Streamdeck-elite is no longer loaded. There is no option to install profiles therefore.

Disabling FSS Scanner switches Hud Mode to combat

Pressing the FSS Scanner button once enables the FSS Scanner and sets the Hud Mode to Analysis
Pressing the FSS Scanner button once more disables the FSS Scanner and sets the Hud Mode to Combat

If I press the hotkeys on keyboard this doesn't happen

Since I'm using the FSS scanner while exploring, when I come out of FSS Mode I need the Hud Mode to stay in "Analysis" to scan the next system.

Not sure if the automatic Hod Mode switching is done on purpose.

Nightvision button isn't working anymore.

Hi mhwlng,

It seems with the latest update the night-vision toggle button doesn't seems to work anymore. Every other Toggle button does work. Whenever i manually turn on night vision in key with my keyboard bind it does show to toggle in icon's if you've set one for on and off. But when pressing the button on my stream-deck it doesn't switch between on or off.

What i've tried so far: Removing the button and placing a new fresh Toggle Button with the fuction Night Vision but to bad that didn't work :(

Feature request: "Buttons" for watching inventory

When out gathering materials for engineering, it would be nice if I could configure one or more buttons on the unit to show an icon I choose + the number of units I have of a specified material.

For instance, I could configure a button to watch my inventory of Sulphur, or Conductive Components, so that while out gathering I have the numbers available at a glance.

They could function pretty much the same way as the display portion of the collector/prospector limpet buttons do, sans the actual key binding.

Some buttons not recognised in control settings

Hi there, firstly thank you do doing this.

I am setting up my Stream Deck to use and using your plugin, I have many options on my deck working, landing gear, cargo scoop, panel switching, power pips, hardpoint deployment, but I have some that don't I can't set them in the control options it's as if ED doesn't recognise the button/key. They are Supercruise, Hypercruise, Use Shield Cell, Chaff launcher, Open Galaxy Map, Open System Map and Enter FSS mode. I am using the 'keyboard only no mouse' selected for flight controls. Which become custom when I add my T Flight Hotas flight controls to the settings. All other options I have on my stream deck I can confirm by pressing them and they confirm the selection.

Is this a case of deleting the button and doing it again until it is (a Frontier feature) or am I missing something else.

Thanks
Darren
Version 2.4.3

Ps. Frontier store launcher edition Elite Dangerous Odyssey.

Elite Dangerous Buttons has stopped working

Hello,

First of all thank you for the amazing job.

Problem
The plugin crashes when editing the elite keybindings.
CrashOnControlsEdit

Expected behaviour
The application does not crash. 😄

How to reproduce (at least for me)

  • I have a current set of programmed "actions" from this plugin configured on my stream deck.
  • My streamdeck is showing these "actions" currently (I use it as a list of things I should not forget to set).
  • I've changed my hotas in this case, but it did happen previously if I changed my hotas to another usb port. (see next line if you don't understand why I mention this)
  • I start elite and need to reconfigure some/all keybindings (you know how elite is famous to remember those) 😢
  • I open the Elite > Options > Controls to set and reset my keybindings...
  • I change the presets from what elite selected for me (in this case "Keyboard And Mouse") and I select Empty
  • About 2 seconds later crash... (See picture above)
  • Here is the log file.
    pluginlog.log
  • I press
  • I set up some controls
  • I click cancel or apply and get an exception again => although this one is not very regular.

Complementary information:

  • it is a Steam install of Elite Dangerous and it is started via Steam (no idea if it has an impact)

Profile switching

It's still an issue, here.

  • If the ship is in analysis i can switch to and between the map profiles, but it won't switch back to analysis. If the ship is in combat mode (wich is main) it works.
  • If the hardpoints are retracted the same issue occurs. It won't switch back from maps to hardpoints.
  • Switching form hardpoints to analysis works, analysis to hardpoints isn't.
  • Switching analysis or hardpoints directly to main is ok.

I will implement further profiles, and will see what happens..
CMDR Andechs

manifest.txt
pluginlog.log

Originally posted by @Andechs75 in #19 (comment)

Animated GIFs

First of all thank you for the great Tool for Stream Deck.
Stream Deck natively supports animated GIFs for the Icons. Trying with streamdeck-elite gives me static icons. Is there any chance to get animated GIFs work with streamdeck-elite? I would love to have flahing or pulsing icons on some functions.
cargo_on

Feature Request: Fighter commands

Similar to the Power Pips, would it be possible to have buttons for the fighter commands?

Thanks for your work on such a good addon.

On all except the alarm button the image paths are incorrect after browsing/selecting an image

Streamdeck software version: 5.0.1.14252
Streamdeck-elite version: 2.3.7

After selecting a png image on the HDD the path to the image is wrongly applied (in the file path box).
For example the path to an image:
D:\AppData\StreamDeck\Elite\Galaxy Map - ON.png
Is shown as:
C:\fakepath\D%3A%2FAppData%2FStreamDeck%2FElite%2FGalaxy%20Map%20-%20ON.png

The issue occurs with any of the buttons except the alarm button

Relevant files in attachment:
Streamdeck-Elite.zip

Controller Limpet button does not seem to work

Mapped controller Limpet to Firegroup F Primary. In the firegroups in Elite the controller limpet is mapped to group F and is showing 1 (primary).
I am in fire group A with my weapons and just after destroying a ship go to send limpets out to collect the goodies and push the button. The screen seems to flip to the fire group with the limpets assigned but does not actually launch a limpet and then goes back to the original firegroup.

Profiles wont load.

Howdy, I have followed this guide as best as I could though profiles will not load...

  1. Download and ran the plugin
  2. Downloaded the main version
  3. Created and configured the profiles in Stream Deck
  4. Exported them into the plugin folder
  5. Changed manifest with needed information
  6. Deleted profiles
  7. rebooted stream deck
  8. Never get a prompt / attempt manual, never loads
  9. I have also tried as admin

Thoughts?

This is what I added into profiles
"Profiles": [
{
"Name": "Elite Dangerous Main",
"ReadOnly": true,
"Device Type": 0,
"DontAutoSwitchWhenInstalled": false
},
{ "Name": "Elite Dangerous Hardpoints",
"ReadOnly": true,
"Device Type": 0,
"DontAutoSwitchWhenInstalled": false
},
{ "Name": "Elite Dangerous Navigation",
"ReadOnly": true,
"Device Type": 0,
"DontAutoSwitchWhenInstalled": false
}

Profile names match

Thanks in advance, You Rock!

07 CMDR Falls

FSS/DSS Actions

Maybe I'm missing something, but if not: It would be great to be able to allow buttons for actions regarding the FSS/DSS modes:

FSS

  • Discovery Scan (press+hold)
  • Target current signal
  • Zoom In/Out
  • And for the new dials on the steamdeck maybe the tunings

DSS

  • Next Filter
  • Previous Filter
  • Toggle Front / Back View

Keyboard

Hello there,
FlightAssist should be bound to the Y-Key. With my Keyboard and the Hotas it works as intended. But with the Deck (XL) and the ToggleButton FlightAssist i get a Z-Keystroke. The feedback of the Status.json and the image seems to work. I think i have an issue with the german keyboard layout. If i use a normal Hotkey for Z and Y it works, too. Somehow it reads the de-DE binds and the Output of the Plugin is an USB[hex] Code for en-EN devices. Any Ideas to fix it, or to work arround this issue?
Rest is working great. Thx for the plugin.

.binds:
KeyboardLayout de-DE /KeyboardLayout
...
ToggleFlightAssist
Primary Device="{NoDevice}" Key="" /
Secondary Device="Keyboard" Key="Key_Y" /
ToggleOn Value="1" /
/ToggleFlightAssist
SelectHighestThreat
Primary Device="{NoDevice}" Key="" /
Secondary Device="Keyboard" Key="Key_Z" /
/SelectHighestThreat

.log:
monitoring key binding path #1 C:\Users##\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings
monitoring key binding file name #1 StartPreset.start
monitoring key binding path #2 C:\Users##\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings
monitoring key binding file name #2 Warthog-v421.3.0.binds

Buttons not working with Elite Dangerous

Hi,
I've just purchased a Stream Deck and installed all the files that you've kindly created. I've set my Stream Deck up and started Elite.
None of the buttons work in the game however when I use the alternative switches (from my HOTAS etc) the buttons indicate what the should do if I had pressed them.
I'm really sorry to bother you with this but I was wondering what I am missing?

Thanks

Feature Request: Outstanding Bounty

Good Day, love the tool

Would it be possible to add a button that would report the current bounty on the selected ship?

If this is possible, things that I would like to see incorporated into the display.
Green or Orange text to indicate if the ship is an ally or not.
An indication if the KWS has been used against the ship.
Current bounty, which can change after a shipped has been scanned with the KWS.
Finally as a bonus, if the ship is Clean, has a Warrant or Wanted

streamdeck Profile missing

Great work, but setting this up is very time consuming and sometimes quite hard (e.g. the switching profiles).
Do you see any chance to share your profile so we have something to start with?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.