Giter VIP home page Giter VIP logo

binded's People

Contributors

alternerdtive 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

Watchers

 avatar  avatar

binded's Issues

Read from default binds files, too

Currently the plugin only works if you have a custom control scheme (= made at least a single change to the binds).

Technically it could also read the correct preset from the installation directory if a standard one is in use.

Practically this is the lowest of low priorities since all the default control schemes are missing a couple of essential binds, so you’re going to have to change/add some anyway.

Not an Issue but a cross post question

Hey all,

I didn't know how to contact you all so I am posting this issue here.

I wrote a tiny app that lets you open an ED *.binds file and give friendly names and labels for everything. It also allows you to search through the key bindings to find the binding you need.

A VoiceAttack/BindED user asked that I add the BindED variable for each of the key bindings since it's tedious to determine the correct variable name to program VoiceAttack bindings.

Anyway, I added the capability and thought it might be helpful for your other users too.

https://github.com/ghorsey/EdBindings

Add actual usage instructions

I just realised that nowhere in the new README/docs does it tell you how to actually use the binds the plugin reads.

Like, a small tidbit about “use a dynamic keypress with ed<bind name from the file>” would probably be a good idea.

Persistent configuration

Hi there,

I'm a french user with European AZERTY keyboard.
To be able to map keys to VoiceAttack, i added a fr-fr keyboard layout.

The fact is the layout is not loaded until the bindED.layout# command is executed.
What is not very practical is, i have to do that every time i run VoiceAttack.

Could bindED have an optional configuration file where some settings like the default layout can be changed ?

Show a warning if EDO has multiple presets active

So we’re taking the first profile in StartPreset.start. Might be a good idea to not only mention in the docs that you have to use the same preset across all sections, but also show a warning in the VoiceAttack log if you don’t.

Some bindings not always working

Hi,

I noticed that some bindings are not always working in VA.
For example, 'edShipSpotLightToggle' sometimes works and sometimes not in the same VA command.

I also noticed that many binds are both present in bindED-bindsList.txt AND in bindED-missingBings.txt when executing the 'generate reports' command.

bindED-diagnostics don't show any error.

Is there some plugin logs I could see to understand what's happened or is it a known issue ?

See screenshot of the file compare I did.

Thanks for your good work.
Vincent.

File Compare

Can't get it.

Hi,
since over a week now i am trying to get this working. I havent played ED since 2 Years and want to play again,
I've found out about bindED 3.x on a thread at elitedangerous.de. Since then i am looking for answeres to my Questions.
Don't want to say that you have no documentation of your tool but, you explain a lot about how it works, what it do, but for People like me that dont use bindED since the beginning with lousy VA knowledge is the Problem "How to use it".

First of all, i have an old VA-Profile. All of the commands locking something like this:

Execute external plugin, 'bindED Plugin v4.1-alterNERDtive'
Press variable key(s) [edFocusRightPanel] and hold for 0,5 seconds and release
Execute command, '(( ED KB Pause ))' (and wait until it completes)

Now you say on a Forum

Automatic key bind detection. No running a plugin context necessary.

Nice to know, but what about a example how it has to be now 😕

Next is, i want to create a de-de Key Layout, I feel like a Pro about that after reading all your informations about how to create one. 🤣 But i also want to use it.

All Information about that is.

You can set a text variable in VoiceAttack called bindED.layout# to the layout you want to use. If the variable is not set it will defaut to en-us.

Where exactly do i put that? How exactly does that look like? I have absolut no Idea what that means.
For normal i crate my stuff by trial and error because i have no clue about VA and how to create something cool, sometimes it happens. sometimes not, But my experience with bindED was a chain of No's.

Can you help me please and explain how to use your realy nice Tool now?

Greetings
MadVirus

Loading the last modified binds file should break with Odyssey

While I can’t test (no Odyssey, duh), simply reading the last modified <preset>(\.(4\.0|3\.[08]))?\.binds file should break; upon writing the 4.0 (Odyssey) file it is copied over to Horizons by default, making the Horizons one the last modified; but loading into Horizons will strip the Odyssey-specific binds.

tl;dr: I’m actually going to have to go by file name. Load 4.0 if it exists, otherwise 3.8 if it exists, otherwise 3.0 if it exists, otherwise plain.

Add a proper error message for missing binds

That usually happens when a default binding is used. StartPreset.start will have the bindings name, but no corresponding .binds file will exists.

Needs some verbatim about using a custom control scheme.

Changing keyboard layout breaks after profile change

Currently there’s a bug in VoiceAttack that unloads the event handlers for variable changes when a profile is switched (or reset).

That might end up being the intended behaviour, so might need a release to fix. Waiting for feedback right now.

bindED not working at all

I've downloaded the latest version of bindED (v4.0), and made a change in the game's controls as instructed, but none of the controls are set in VA at all. When I check for them, they just say 'Not set'. Plus, I'm constantly getting an error in the VA log, as per the attached image.

image

I assume that the "Custom Custom Custom Custom" are the profiles used for each of the four control types: General, Ship, SRV, and On Foot. When I change one of these in game to be (for example) Keyboard and Mouse, then one of those 'Custom' entries will change to 'Keyboard and Mouse'.

I've not loaded into Horizons since Odyssey came out, could that be causing this?

I know you don't have Odyssey, so if there is anything I can provide to help with this, just let me know.

Modifying a shipped preset causes a confusing error message

So if you use a preset the game is shipped with (stored in the installation folder), bindED doesn’t work. By design.

Once you change anything in such a preset, Elite switches to the default “Custom” preset. Unfortunately the preset change is reflected immediately in StartPreset.start while the actual binds file is only written after hitting “Apply”.

So the first time you “create” the “Custom” preset by modifying any bind in a shipped preset, you will get:

4:37:41.313 ERROR | bindED: No bindings file found for preset 'Custom'. If this is a default preset, please change anything in Elite’s controls options.

This is technically correct, but a little confusing. I’m not quite sure how to deal with this in a way that doesn’t cause even more confusion.

NB: binds will still load correctly once you hit “Apply” and the actual binds file is written to disk, and will tell you so in the log:

4:37:59.303 INFO | bindED: Bindings file 'Custom.3.0.binds' has changed, reloading …

Odyssey now uses `StartPreset.4.start`

So Frontier decided to “solve” the 4 lines (Odyssey) vs. 1 line (Horizons) of presets by making Odyssey use its own file (Does that mean the merge is faaaaar out? Probably.).

Problem is that there is no simple way for the plugin to determine if you’re in Odyssey or Horizons. The two options I’m aware of are a) watching the journal directory, and parsing the “current” one to catch the LoadGame event that contains the version or b) watching the process list and looking at the path of the client executable once it pops up (Horizons and Odyssey have their own distinct sub folders in the launcher directory).

So I’m probably going to prefer the .4 file if it exists. Which means you will still have to use the same preset for both versions of the game, just that the game itself will no longer enforce it.

Preset names are not escaped / treated as literal

The DetectBindsFile method can reject preset names containing Regex special characters and can return a "No bindings file found" error instead. For example, with my bindings file "T16000M HOTAS (T'kael).4.0.binds" the parenthesis are treated as regex characters rather than as part of the literal prefix name which causes a mismatch. The prefix name needs to be treated literally.

bindED Unable to find bindings file in Odyssey

Using VA 1.8.7.12, alerNERDtive profiles 4.2.1, bindED 4.0

The first time a command is recognized, bindED looks like it's trying to load the binding values, but fails to do so with the message:

ERROR | bindED: No bindings file found for preset 'Custom
Custom
Custom
Custom'.  If this is a default preset, please change anything in Elite's controls options.

Thought maybe changing some bindings would poke it into recognizing the file, but it does not.

The binding files in my bindings directory are:

Custom.3.0.binds
Custom.4.0.binds

The contents of Custom.4.0.binds are available here: https://pastebin.com/YgQtTF7d

StartPreset.start reads

Custom
Custom
Custom
Custom

(Worked as expected pre-Odyssey update)

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.