Skip to content

NumLock throwing error #165

Closed
Closed
@smithkyle

Description

@smithkyle

Creating a new issue - not sure if my comment the in the closed issue referenced below was seen.

          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

Originally posted by @smithkyle in #102 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions