Open untoldone opened 8 years ago
Updating bug description to be to update the docs for sendKeyEventScancode
given super key requires KBDFLAGS_EXTENDED
to be set but node-rdpjs already supports it.
For others that may see this before docs are updated, when sending the Windows keycode (0x5B
), you must also pass a third parameter of the value true
to sendKeyEventScancode
, e.g.
// Keypress
client.sendKeyEventScancode(0x5B, true, true)
setTimeout(function () {
client.sendKeyEventScancode(0x5B, false, true)
}, 100);
using the unicode
91
, or non-unicode0xE05B
or0x5B
all fail to act as if the Windows key has been sent. Sending a combination of ctrl (0x001D
) + esc (0x0001
) brings up the windows menu but since it doesn't act as a windows key, it cant be used for other shortcuts