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

Ascii char for ctrl+alt or shift+alt #4

Closed
Heclalava opened this issue Jun 18, 2022 · 2 comments
Closed

Ascii char for ctrl+alt or shift+alt #4

Heclalava opened this issue Jun 18, 2022 · 2 comments

Comments

@Heclalava
Copy link

I am trying to run ctrl+alt or shift+alt as my hotkey modifier. getModifierCode.py doesn't register these key combos, also when I run getModifierCode.py I gett the following error:
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 477, sequence_number = 14, major_opcode = 33, minor_opcode = 0

I have searched for the ascii codes for this key combination but not having any luck. Do you know what the decimal number is for key combinations? Also code 64 doesn't work for my SuperL according to ascii in terminal code 64=@.

I have the hotkey modifier set to 18, which is Caps Lock. It works, but I have to constantly check that caps lock is off when I type.

@jaywilkas
Copy link
Owner

Hi Heclalava,

the modifier code for Ctrl-Alt is 28
and for Shift-Alt is 25.
If 64 for SuperL doesn't work for you, try 80.

@Heclalava
Copy link
Author

Thanks, I have it working with Ctrl+Alt now.

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