You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short overview
Attempting to pressKey or releaseKey with LeftSuper or RightSuper throws "invalid key code specified"
Detailed error description
It looks like this happens because the keycode sent from nut.js when LeftSuper or RightSuper are sent is "command" which does NOT have a corresponding keycode in the KeyNames struct in libnut's main.cc file. As a result, no key code is found.
Additionally, it looks like nut.js does not currently have a way to press the "meta" key, although it has entries in libnut's main.cc
Steps to reproduce error await keyboard.pressKey(Key.LeftSuper)
Additional content
Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)
The text was updated successfully, but these errors were encountered:
Version
last public version
Short overview
Attempting to
pressKey
orreleaseKey
withLeftSuper
orRightSuper
throws "invalid key code specified"Detailed error description
It looks like this happens because the keycode sent from nut.js when
LeftSuper
orRightSuper
are sent is "command" which does NOT have a corresponding keycode in theKeyNames
struct in libnut'smain.cc
file. As a result, no key code is found.Additionally, it looks like nut.js does not currently have a way to press the "meta" key, although it has entries in libnut's
main.cc
Steps to reproduce error
await keyboard.pressKey(Key.LeftSuper)
Additional content
The text was updated successfully, but these errors were encountered: