I assume this is X11 only or using one of the wayland protocols which is not supported by all major compositors?

(The exception likely being Gnome, which seems to be very set against implementing protocols allowing generic applications like this to work)

Yes, the current version is X11-only, and we’re using direct device access (e.g. reading from /dev/input/eventX) to detect global keyboard shortcuts.