Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardization of AHK hotkeys/toggles #18

Open
niboty opened this issue Apr 10, 2018 · 5 comments
Open

Standardization of AHK hotkeys/toggles #18

niboty opened this issue Apr 10, 2018 · 5 comments
Labels
discussion Major decision or discussion needed

Comments

@niboty
Copy link
Contributor

niboty commented Apr 10, 2018

So with the increasing amount of AHK scripts that are being developed for use on the stream having different hotkeys for all of them will become impossible to remember. I suggest we standardize the keys used in hotkeys as well as what hotkeys/functionality a script requires.

The following are my initial suggestions, feel free to give input!

Standardized Hotkeys:

  • 3 key input, 1st being standard, 2nd being script specific, 3rd being script options/toggles
  • For the 1st key I suggest something on the lower left like Alt
  • For the 2nd key it should probably be within 1 hand range of the 1st key, I suggest the left half of the letters on the keyboard.
  • For the 3rd key it should have enough options for the script, I suggest any of the numbers.

Functionality All Scripts should have:

  • Standardized Exit app hotkey so Kitboga could shut down all scripts at once. ex: Ctrl + Esc
  • Additional Script Specific exit app hotkey ex. Alt + [ScriptSpecificKey] + Esc
  • Ability to Pause/stop ex. Alt + [ScriptSpecificKey] + 0
  • Any options that the script has on functionality should be broken into the most common configurations/settings and be able to be toggled between using Alt + [ScriptSpecificKey] + [1-9]

Let me know what you think. With hotkeys I feel like we need to consider accidental triggers (3 keys should be good enough), memorability, and the ability to actually press all the keys

@LlemonDuck LlemonDuck added the discussion Major decision or discussion needed label Apr 10, 2018
@LlemonDuck
Copy link
Contributor

I definitely like this idea. It ensures scripts can work together without any conflicts. 👍

@JyeGuru
Copy link

JyeGuru commented Apr 11, 2018

I think this is something that should be written RFC-like, although I think it would be best to get a bunch more scripts in here, then make the standards based on the use cases, alongside a PR to update them all at the same time. That way, a defacto standard might emerge, and save time on investigating options at this point.

Scripts MUST implement [whatever] as an immediate exit key.
This key MUST NOT be blocked by the script to allow it to be handled by all running scripts.
Scripts MAY implement [x, y, z]
etc

@niboty
Copy link
Contributor Author

niboty commented Apr 11, 2018

Yeah good advice I'm down for some more official documentation, was just throwing out some ideas. We should get the rest of the official Kitboga scripts and finish up any of the existing AHK PRs. Then make sure a standard works for those and any other use cases we might have.

And since Kit would be the one using it though we should probably get his input. Not sure how active he is with this and the best way to get in touch with him. @llamositopia any ideas?

But I'm thinking it will enable us to package together all the scripts and give it to Kit with some documentation. Then he can have all the scripts on one VM save and not worry about compatibility issues allowing him to quickly turn them on and off if he decides it might be a funny time for one, It will also be easier to keep the VM updated with the newest codeville works.

@adam6806
Copy link

adam6806 commented Sep 7, 2018

I'm definitely interested in making a "master script" and standardizing all current scripts. During some initial research, I did find out that AHKPanic() is a function that can suspend all active scripts. I'm a java software engineer myself and I was pretty surprised to find out the number of things that can be done with AHK. Would be a fun project for sure and a fun way to contribute something to the stream. I'll start work and submit a PR when I have a working prototype. If someone else is actively developing this please let me know as I don't want to step on anyone's toes.

@adam6806
Copy link

adam6806 commented Sep 7, 2018

There could also be a concept of a grouping of scripts. Kit could configure a group of scripts he wants to run and one hotkey could switch all running scripts off and start the specific scripts in that group. Might be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Major decision or discussion needed
Projects
None yet
Development

No branches or pull requests

4 participants