Wayland "Send Keyboard Input"

In a Wayland session is there any way to to add a custom global shortcut to send keyboard input?
This is simple in an X11 session, but I can’t find any way to do it in Wayland.

Perhaps you’d be interested in ydotool? It can send keyboard input to any Linux program, whether it’s running under X11, Wayland, or neither.

Thanks, I’ll have a look at it.