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

Ability to Defined a key stroke with the ComboKey #127

Open
Todd1215 opened this issue Feb 21, 2024 · 2 comments
Open

Ability to Defined a key stroke with the ComboKey #127

Todd1215 opened this issue Feb 21, 2024 · 2 comments

Comments

@Todd1215
Copy link

I see Alt launcher can read the Combo Keys but I am not able to define a key stroke along with the combo-key. How do we do that in Alt Launcher?

@arithex
Copy link
Collaborator

arithex commented Feb 21, 2024

If you have the CommandsSetKeyCombo callback already mapped to the desired prefix key (I think [alt+C] is the only such prefix mapped by default, in BMS-Full.key) there is an obscure UX for defining new keycombo bindings. It is very unintuitive and undiscoverable .. iirc it involves using the dx-shift button to type the prefix key before the actual key? Something like that.

Agree this is a gap that needs to be covered -- AL needs some way to define new keycombo prefixes, and a more intuitive/discoverable way to define new bindings.

Today, it requires hand-editing BMS-Auto.key .. I use [alt+N] and [alt+M] followed by (1-0/A-J) as keycombos for all the MFD buttons -- here's those blocks from my key file, if it helps anyone to have an additional example.

CommandsSetKeyCombo -1 0 0x31 4 0 0 1 "[alt+N] Key-sequence Prefix - Left MFD"

SimCBEOSB_1L 126 0 0x02 0 0x31 4 1 "[alt+N,1] LMFD: OSB-1 Button - Push"
SimCBEOSB_2L 126 0 0x03 0 0x31 4 1 "[alt+N,2] LMFD: OSB-2 Button - Push"
SimCBEOSB_3L 126 0 0x04 0 0x31 4 1 "[alt+N,3] LMFD: OSB-3 Button - Push"
SimCBEOSB_4L 126 0 0x05 0 0x31 4 1 "[alt+N,4] LMFD: OSB-4 Button - Push"
SimCBEOSB_5L 126 0 0x06 0 0x31 4 1 "[alt+N,5] LMFD: OSB-5 Button - Push"
SimCBEOSB_6L 126 0 0x07 0 0x31 4 1 "[alt+N,6] LMFD: OSB-6 Button - Push"
SimCBEOSB_7L 126 0 0x08 0 0x31 4 1 "[alt+N,7] LMFD: OSB-7 Button - Push"
SimCBEOSB_8L 126 0 0x09 0 0x31 4 1 "[alt+N,8] LMFD: OSB-8 Button - Push"
SimCBEOSB_9L 126 0 0x0A 0 0x31 4 1 "[alt+N,9] LMFD: OSB-9 Button - Push"
SimCBEOSB_10L 126 0 0x0B 0 0x31 4 1 "[alt+N,0] LMFD: OSB-10 Button - Push"
SimCBEOSB_11L 126 0 0x1E 0 0x31 4 1 "[alt+N,A] LMFD: OSB-11 Button - Push"
SimCBEOSB_12L 126 0 0x30 0 0x31 4 1 "[alt+N,B] LMFD: OSB-12 Button - Push"
SimCBEOSB_13L 126 0 0x2E 0 0x31 4 1 "[alt+N,C] LMFD: OSB-13 Button - Push"
SimCBEOSB_14L 126 0 0x20 0 0x31 4 1 "[alt+N,D] LMFD: OSB-14 Button - Push"
SimCBEOSB_15L 126 0 0x12 0 0x31 4 1 "[alt+N,E] LMFD: OSB-15 Button - Push"
SimCBEOSB_16L 126 0 0x21 0 0x31 4 1 "[alt+N,F] LMFD: OSB-16 Button - Push"
SimCBEOSB_17L 126 0 0x22 0 0x31 4 1 "[alt+N,G] LMFD: OSB-17 Button - Push"
SimCBEOSB_18L 126 0 0x23 0 0x31 4 1 "[alt+N,H] LMFD: OSB-18 Button - Push"
SimCBEOSB_19L 126 0 0x17 0 0x31 4 1 "[alt+N,I] LMFD: OSB-19 Button - Push"
SimCBEOSB_20L 126 0 0x24 0 0x31 4 1 "[alt+N,J] LMFD: OSB-20 Button - Push"

CommandsSetKeyCombo -1 0 0x32 4 0 0 1 "[alt+M] Key-sequence Prefix - Right MFD"

SimCBEOSB_1R 126 0 0x02 0 0x32 4 1 "[alt+M,1] RMFD: OSB-1 Button - Push"
SimCBEOSB_2R 126 0 0x03 0 0x32 4 1 "[alt+M,2] RMFD: OSB-2 Button - Push"
SimCBEOSB_3R 126 0 0x04 0 0x32 4 1 "[alt+M,3] RMFD: OSB-3 Button - Push"
SimCBEOSB_4R 126 0 0x05 0 0x32 4 1 "[alt+M,4] RMFD: OSB-4 Button - Push"
SimCBEOSB_5R 126 0 0x06 0 0x32 4 1 "[alt+M,5] RMFD: OSB-5 Button - Push"
SimCBEOSB_6R 126 0 0x07 0 0x32 4 1 "[alt+M,6] RMFD: OSB-6 Button - Push"
SimCBEOSB_7R 126 0 0x08 0 0x32 4 1 "[alt+M,7] RMFD: OSB-7 Button - Push"
SimCBEOSB_8R 126 0 0x09 0 0x32 4 1 "[alt+M,8] RMFD: OSB-8 Button - Push"
SimCBEOSB_9R 126 0 0x0A 0 0x32 4 1 "[alt+M,9] RMFD: OSB-9 Button - Push"
SimCBEOSB_10R 126 0 0x0B 0 0x32 4 1 "[alt+M,0] RMFD: OSB-10 Button - Push"
SimCBEOSB_11R 126 0 0x1E 0 0x32 4 1 "[alt+M,A] RMFD: OSB-11 Button - Push"
SimCBEOSB_12R 126 0 0x30 0 0x32 4 1 "[alt+M,B] RMFD: OSB-12 Button - Push"
SimCBEOSB_13R 126 0 0x2E 0 0x32 4 1 "[alt+M,C] RMFD: OSB-13 Button - Push"
SimCBEOSB_14R 126 0 0x20 0 0x32 4 1 "[alt+M,D] RMFD: OSB-14 Button - Push"
SimCBEOSB_15R 126 0 0x12 0 0x32 4 1 "[alt+M,E] RMFD: OSB-15 Button - Push"
SimCBEOSB_16R 126 0 0x21 0 0x32 4 1 "[alt+M,F] RMFD: OSB-16 Button - Push"
SimCBEOSB_17R 126 0 0x22 0 0x32 4 1 "[alt+M,G] RMFD: OSB-17 Button - Push"
SimCBEOSB_18R 126 0 0x23 0 0x32 4 1 "[alt+M,H] RMFD: OSB-18 Button - Push"
SimCBEOSB_19R 126 0 0x17 0 0x32 4 1 "[alt+M,I] RMFD: OSB-19 Button - Push"
SimCBEOSB_20R 126 0 0x24 0 0x32 4 1 "[alt+M,J] RMFD: OSB-20 Button - Push"

@Todd1215
Copy link
Author

thanks for the info. It's good to know that it isn't just me.

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

No branches or pull requests

2 participants