Simulate press key

Is this specific to a particular operating system? I.e., just Windows? Or does it need to work on Windows, macOS, Linux, Android, etc.? Because every one of those systems will have its own way to generate a key press… and it’s worth noting, some have more than one way, not all of which will work with all programs.

(I’m not even sure you can generate a keypress system-wide on iOS without some really hacky solutions.)

Even just on Windows, using just “SendKey” on Windows is not enough for everything to see it; some read the keyboard in other ways. It’s the whole reason the venerable “AutoHotKey” hotkey scripting program has like five different ways to generate keypresses (SendKey, SendKey_Raw, PostKey, etc.).

If you just want specifically the SendInput Win32 API call on Windows, then yeah, it’s very easy to make a library that adds a node for that.