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

The registration button does not support - , ; Such symbols seem to support only A-Z uppercase characters? #103

Open
Apyz opened this issue Aug 9, 2023 · 2 comments
Labels

Comments

@Apyz
Copy link

Apyz commented Aug 9, 2023

Can I add support? Or what should I do if I already do?

@Apyz
Copy link
Author

Apyz commented Aug 9, 2023

void initHotkey() { // 参数KEY_1表示改组热键组合的标识,第二个参数表示组合键,如果没有则为0,该热键对应ctrl+alt+I JIntellitype.getInstance().registerHotKey(KEY_1, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) '-'); JIntellitype.getInstance().registerHotKey(KEY_2, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) 'L'); JIntellitype.getInstance().registerHotKey(KEY_3, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT, (int) ','); JIntellitype.getInstance().addHotKeyListener(this); }

If I write ctrl + alt + - and ctrl + alt +, it doesn't work

@melloware
Copy link
Owner

Not all key combinations are supported as Microsoft blocks certain combination from being registered. They don't publish a list so its just trial and error. With Windows 11 I know more keys were not allowed as HotKeys than in Windows 7 or 10.

@melloware melloware added the bug label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants