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

Add mappings for missing numpad keys #102

Closed
s1hofmann opened this issue Feb 1, 2022 · 1 comment · Fixed by #104
Closed

Add mappings for missing numpad keys #102

s1hofmann opened this issue Feb 1, 2022 · 1 comment · Fixed by #104
Labels
enhancement New feature or request

Comments

@s1hofmann
Copy link
Member

Short overview
Mappings for several numpad keys are missing:

  • numlock
  • scrollock
  • add
  • subtract
  • divide
  • multiply
@s1hofmann s1hofmann added the enhancement New feature or request label Feb 1, 2022
s1hofmann added a commit that referenced this issue Feb 1, 2022
* Added missing mappings

* (#102) Added missing K_NUMPAD_DECIMAL mapping
@s1hofmann s1hofmann linked a pull request Feb 9, 2022 that will close this issue
@smithkyle
Copy link
Contributor

smithkyle commented Jun 17, 2023

There seems to be a mismatch somewhere with NumLock - when I use Key.NumLock I get an error:

Error: [nut.js] - Error: Invalid key code specified.
    at Object.libnut. [as keyToggle] (/Users/ksmith/dev/nutjs-test/node_modules/@nut-tree/libnut-darwin/permissionCheck.js:68:96)

But if I use Key.NumberLock, I don't get an error...I'm not sure if it's actually working correctly or not, though...

This is on macOS 12.4

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