crimsoncantab / aok-hotkeys

Hotkey Editor for Age of Empires II
Other
25 stars 9 forks source link

How do you have multiple hotkeys for a single command? #63

Closed danyyy closed 4 years ago

danyyy commented 4 years ago

Hello! Sorry if this is not the right place to post this but im using the hotkey editor for aoe2 and i was wondering how you add multiple keys for the same command. I really want to have both "k" and "p" for the Economic Buildings. Thank you!

crimsoncantab commented 4 years ago

That's currently impossible to do without changes to the game itself. The game only stores one binding per hotkey; we wouldn't be able to generate a hotkey file that the game could read unless it explicitly had a 2nd hotkey for the same function (Go to Town Center, Go to Next Idle Mil/Vill, & Go to Last Notification are examples of this).

On Thu, Apr 9, 2020, 9:46 AM danyyy notifications@github.com wrote:

Hello! Sorry if this is not the right place to post this but i was wondering how you add multiple keys for the same command. I really want to have both "k" and "p" for the Economic Buildings. Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crimsoncantab/aok-hotkeys/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBF4AEHDB2KI3EVGBK377LRLXUWXANCNFSM4ME2RISQ .

crimsoncantab commented 4 years ago

@danyyy a potential workaround would be to remap the relevant keyboard keys, so, say, you had your "p" key mapped to "k", then you could just use "k" in your hotkeys settings and both keys would work. But then you have the issue of when you want to type a "p" in chat...

Kind of curious why you need to map a hotkey to multiple keys... p and k are pretty close to each other on a querty keyboard layout, so what do you gain from binding economic buildings to both?

danyyy commented 4 years ago

Thats a great idea, thank you!

I'm using a advanced hotkey layout called "The Core" in Starcraft 2, which is focused on ergonomic and speed and since i really like it, i thought i would try to make a similar layout to age of empires 2.

The idea with multiple keys for example "k" and "p" as economic buildings is that it is faster and less exhausting to press two buttons instead of holding down or using the same finger to tap twice.

So if a house is built on "k" and you open the economics building tab with only "k" you would tap or hold down the "k" key to build the farm.

But if you use both "k" and "p" you would press p + k with two different fingers to perform the same action instead of using one finger twice.

It also makes it easier if there is longer distant between certain buildings.

If "build mill" is on "OMLJUD" (the key right side of "Å") you press "K+ OMLJUD" (which is pretty far away)

You could instead use "p + OMLJUD" as an alternative, using fingers that are natural positioned in that area of the keyboard to perform the action.

TheCore6eFingers

crimsoncantab commented 4 years ago

Ohhh cool! Yea that makes sense. Thanks for the explanation. Do you use a separate keyboard for hotkeys? I use a half-keyboard with easily-rebindable keys, so that it doesn't affect my regular keyboard for typing in chat or using other applications besides Age. So that makes rebinding + macros much easier to be aggressive about.

danyyy commented 4 years ago

I see, currently i only use one keyboard, i might use a remapping tool with profiles so i can easily switch for different games/tasks. But it will probably affect the in game chat in live games xD if i cannot have a single key that i can swap profiles with.