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

What does this.MODIFIER_BITMAP[this.VK_MENU]: { ... { do? is it necessary #28

Open
gittyup2018 opened this issue May 31, 2022 · 1 comment

Comments

@gittyup2018
Copy link

gittyup2018 commented May 31, 2022

Hi,

What does this code do?

this.MODIFIER_BITMAP[this.VK_MENU]: {
GetKeyVK("F"): true,
GetKeyVK("L"): true,
GetKeyVK("N"): true,
GetKeyVK("O"): true,
GetKeyVK("P"): true
},

I noticed sometimes on a form (just after pressing the alt key) some keys are ignored and I have to restart the program..it's usually when typing L or N and I recently found this in the code after pulling my hair out. Even more frustrating I can only re-create the problem 1/100 tries so it's random. So please tell me what does that code do?? Is it safe to remove / comment it out ??

@G33kDude
Copy link
Owner

G33kDude commented Jun 4, 2022

As I recall, the point of this array is to define control combos to be suppressed. As in, disable Control F, Control N, Control O, as those functions are not really useful to an app.

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