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

Make Escape Key to Unhook Configurable #386

Closed
jet082 opened this issue Mar 12, 2023 · 4 comments · Fixed by #387
Closed

Make Escape Key to Unhook Configurable #386

jet082 opened this issue Mar 12, 2023 · 4 comments · Fixed by #387
Labels
enhancement New feature or request

Comments

@jet082
Copy link

jet082 commented Mar 12, 2023

As per conversation in #380.

It would be nice to be able to set the Escape key to something else, ideally even a combination of keys, as many mobile keyboards do not have an escape key. Adding it to the "Shortcut for Action" should work I think.

@RamonUnch RamonUnch added the enhancement New feature or request label Mar 12, 2023
@RamonUnch
Copy link
Owner

That is an easy one:
AltSnap1.59p2_x64.zip

in the [Input] section of the ini file:

ESCkeys=1B
; List of keys that will behave like ESCAPE, ie,
; end the movement and reset the state. default is 1B (ESCAPE)

If the option is not present, the usual ESC is used, you can specify several space separated keys as usual.

@jet082
Copy link
Author

jet082 commented Mar 14, 2023

This is probably an incredibly stupid question, but I was wondering how to specify combinations?

I tried ESCkeys=A4 51 for alt+q, but this seems to list both as possible options for ESCkeys rather than the combination of the two.

@jet082
Copy link
Author

jet082 commented Mar 14, 2023

Oh nevermind it's a comma. ESCkeys=A4,51. This works great!

@RamonUnch
Copy link
Owner

This is just a key list, it does not support key combinations/shortcuts, but any key would work, because it will not interact with the system unless a movement is going on, so you could use any alphabetic keys ans still be able to use it.
In your case, I think pressing Alt+Q solves the problem independently of AltSnap.

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

Successfully merging a pull request may close this issue.

2 participants